mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -07:00
Show sso errors on the last step of the oidc process
This commit is contained in:
parent
93076dde56
commit
3f19e7d73c
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