From 17e16d35a7874ad8a136fcd3cb92fa528c14cea0 Mon Sep 17 00:00:00 2001 From: Simon Goller Date: Tue, 18 Jun 2024 09:19:49 +0200 Subject: [PATCH] Another try to fix the logout --- rest/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/src/lib.rs b/rest/src/lib.rs index 684eca6..eb11c9b 100644 --- a/rest/src/lib.rs +++ b/rest/src/lib.rs @@ -259,7 +259,7 @@ use http::StatusCode; #[cfg(feature = "oidc")] pub async fn logout(logout_extractor: OidcRpInitiatedLogout) -> Result { if let Ok(logout_uri) = logout_extractor.uri() { - Ok(Redirect::to(&format!("{}", logout_uri.path()))) + Ok(Redirect::to(&format!("{}", logout_uri))) } else { Err(StatusCode::BAD_REQUEST) }