We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9e5c35 + 07b9402 commit 34dfbabCopy full SHA for 34dfbab
2 files changed
auth_saml/controllers/main.py
@@ -83,7 +83,7 @@ def _saml_autoredirect(self):
83
autoredirect_providers = self.list_saml_providers(True)
84
# do not redirect if asked too or if a SAML error has been found
85
disable_autoredirect = (
86
- "disable_autoredirect" in request.params or "error" in request.params
+ "disable_autoredirect" in request.params or "saml_error" in request.params
87
)
88
if autoredirect_providers and not disable_autoredirect:
89
return werkzeug.utils.redirect(
auth_saml/readme/newsfragments/+avoid_autoredirect_loop.bugfix
@@ -0,0 +1 @@
1
+Avoid redirecting when there is a SAML error.
0 commit comments