mirror of
https://codeberg.org/pfzetto/axum-oidc
synced 2025-12-09 22:55:17 +01:00
strip iss query parameter
This commit is contained in:
parent
7746e6f682
commit
991f24e31f
2 changed files with 2 additions and 1 deletions
|
|
@ -419,6 +419,7 @@ pub fn strip_oidc_from_path(base_url: Uri, uri: &Uri) -> Result<Uri, MiddlewareE
|
|||
!x.starts_with("code")
|
||||
&& !x.starts_with("state")
|
||||
&& !x.starts_with("session_state")
|
||||
&& !x.starts_with("iss")
|
||||
})
|
||||
.map(|x| x.to_string())
|
||||
.reduce(|acc, x| acc + "&" + &x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue