Fix logout endpoint
This commit is contained in:
parent
ee18140ccf
commit
f11ff6612c
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ use http::StatusCode;
|
|||
#[cfg(feature = "oidc")]
|
||||
pub async fn logout(logout_extractor: OidcRpInitiatedLogout) -> Result<Redirect, StatusCode> {
|
||||
if let Ok(logout_uri) = logout_extractor.uri() {
|
||||
Ok(Redirect::to(logout_uri.path()))
|
||||
Ok(Redirect::to(&format!("{}", logout_uri.path())))
|
||||
} else {
|
||||
Err(StatusCode::BAD_REQUEST)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue