mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-11 07:36:38 -07:00
Show sso errors on the last step of the oidc process
This commit is contained in:
parent
1c171b5d99
commit
73ec8cddd7
2 changed files with 63 additions and 38 deletions
|
@ -325,6 +325,13 @@ impl ZeroIDC {
|
|||
println!("Central post failed: {}", r.status().to_string());
|
||||
println!("hit url: {}", r.url().as_str());
|
||||
println!("Status: {}", r.status());
|
||||
if let Ok(body) = r.bytes() {
|
||||
if let Ok(body) = std::str::from_utf8(&body) {
|
||||
println!("Body: {}", body);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
(*inner_local.lock().unwrap()).exp_time = 0;
|
||||
(*inner_local.lock().unwrap()).running = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue