Skip to content
Snippets Groups Projects
Unverified Commit 66f2ebc2 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Use a non-empty RelayState for user interactive auth with SAML. (#7552)

parent 710d958c
No related merge requests found
Fix "Missing RelayState parameter" error when using user interactive authentication with SAML for some SAML providers.
...@@ -177,7 +177,10 @@ class AuthRestServlet(RestServlet): ...@@ -177,7 +177,10 @@ class AuthRestServlet(RestServlet):
) )
elif self._saml_enabled: elif self._saml_enabled:
client_redirect_url = b"" # Some SAML identity providers (e.g. Google) require a
# RelayState parameter on requests. It is not necessary here, so
# pass in a dummy redirect URL (which will never get used).
client_redirect_url = b"unused"
sso_redirect_url = self._saml_handler.handle_redirect_request( sso_redirect_url = self._saml_handler.handle_redirect_request(
client_redirect_url, session client_redirect_url, session
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment