providers/proxy: fix redirect_uri (#12121) Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens L. <jens@goauthentik.io>
This commit is contained in:
![98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
c99a33baee
commit
48854fa72a
@ -34,10 +34,9 @@ def _get_callback_url(uri: str) -> list[RedirectURI]:
|
|||||||
return [
|
return [
|
||||||
RedirectURI(
|
RedirectURI(
|
||||||
RedirectURIMatchingMode.STRICT,
|
RedirectURIMatchingMode.STRICT,
|
||||||
urljoin(uri, "outpost.goauthentik.io/callback")
|
urljoin(uri, "outpost.goauthentik.io/callback") + f"?{OUTPOST_CALLBACK_SIGNATURE}=true",
|
||||||
+ f"\\?{OUTPOST_CALLBACK_SIGNATURE}=true",
|
|
||||||
),
|
),
|
||||||
RedirectURI(RedirectURIMatchingMode.STRICT, uri + f"\\?{OUTPOST_CALLBACK_SIGNATURE}=true"),
|
RedirectURI(RedirectURIMatchingMode.STRICT, uri + f"?{OUTPOST_CALLBACK_SIGNATURE}=true"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user