|
|
|
@ -307,7 +307,11 @@ pub async fn exchange_code( |
|
|
|
user_name: user_name.clone(), |
|
|
|
}; |
|
|
|
|
|
|
|
debug!("Authenticated user {authenticated_user:?}"); |
|
|
|
if CONFIG.sso_debug_tokens() { |
|
|
|
debug!("Authenticated user {authenticated_user:?}"); |
|
|
|
} else { |
|
|
|
debug!("Authenticated user {identifier}"); |
|
|
|
} |
|
|
|
sso_auth.auth_response = Some(authenticated_user.clone()); |
|
|
|
sso_auth.updated_at = Utc::now().naive_utc(); |
|
|
|
sso_auth.save(conn).await?; |
|
|
|
|