mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-11 15:01:02 +03:00
refact(oidc): login with api domain (#15710)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -169,6 +169,7 @@ impl OidcSession {
|
|||||||
"id": id,
|
"id": id,
|
||||||
"uuid": uuid,
|
"uuid": uuid,
|
||||||
"deviceInfo": crate::ui_interface::get_login_device_info(),
|
"deviceInfo": crate::ui_interface::get_login_device_info(),
|
||||||
|
"apiDomain": api_server,
|
||||||
})
|
})
|
||||||
.to_string();
|
.to_string();
|
||||||
let resp = crate::post_request_sync(format!("{}/api/oidc/auth", api_server), body, "")?;
|
let resp = crate::post_request_sync(format!("{}/api/oidc/auth", api_server), body, "")?;
|
||||||
|
|||||||
Reference in New Issue
Block a user