strip iss query parameter

This commit is contained in:
Paul Zinselmeyer 2023-12-19 10:50:19 +01:00
parent 7746e6f682
commit 991f24e31f
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "axum-oidc"
description = "A wrapper for the openidconnect crate for axum"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
authors = [ "Paul Z <info@pfz4.de>" ]
readme = "README.md"

View file

@ -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)