We are using ADFS 5. We have added our SAML information in REdash and configured AD FS with the ReDash call back information. Once i click the SAML login on the Redash page, we are redirected to an error page.
We have EmailAddress set as the NameID.
Has anyone seen this before? I have personally never seen this before.
“The SAML protocol message cannot be read because it contains data that is not valid.”
I was able to get it working. In the name ID, i had EmailAddress instead of the SAML format.
Now i get another error.
We entered the saml information for SAML Metadata URL, SAML Entity ID and SAML NameID Format. We are directed to our login page. Once i log in, we get this message.
Error details: MSIS7085: The server requires a signed SAML authentication request but no signature is present.
The signed SAML authentication request is currently set to false but it still comes up.
I removed the ReDash configuration within ADFS and the error message “The server requires a signed SAML authentication request but no signature is present.” comes up anyway. I also did set the SAML authentication request at the ADFS level to True (false by default) and the error message still comes up.
Yes we are self hosted. This is what the logs show.
Exception details:
Microsoft.IdentityServer.Protocols.Saml.SamlProtocolSignatureVerificationException: MSIS7085: The server requires a signed SAML authentication request but no signature is present.
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolManager.ValidateSignatureRequirements(SamlMessage samlMessage)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolManager.Issue(HttpSamlRequestMessage httpSamlRequestMessage, SecurityTokenElement onBehalfOf, String sessionState, String relayState, String& newSamlSession, String& samlpAuthenticationProvider, Boolean isUrlTranslationNeeded, WrappedHttpListenerContext context, Boolean isKmsiRequested)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.RequestBearerToken(WrappedHttpListenerContext context, HttpSamlRequestMessage httpSamlRequest, SecurityTokenElement onBehalfOf, String relyingPartyIdentifier, Boolean isKmsiRequested, Boolean isApplicationProxyTokenRequired, String& samlpSessionState, String& samlpAuthenticationProvider)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.BuildSignInResponseCoreWithSerializedToken(HttpSamlRequestMessage httpSamlRequest, WrappedHttpListenerContext context, String relyingPartyIdentifier, SecurityTokenElement signOnTokenElement, Boolean isKmsiRequested, Boolean isApplicationProxyTokenRequired)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.BuildSignInResponseCoreWithSecurityToken(SamlSignInContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.Process(ProtocolContext context)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.ProcessProtocolRequest(ProtocolContext protocolContext, PassiveProtocolHandler protocolHandler)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)
Exception details:
MSIS7085: The server requires a signed SAML authentication request but no signature is present.
This request failed.
User Action
Verify that the message issuer configuration in the AD FS configuration database is up to date.
Configure the signing certificate for the specified issuer.
Verify that the issuer’s certificate is up to date.
Verify the issuer and server message signing requirements.
We did not configure any groups The saml nameID is working because I am able to sign into redash using IDP Initiated. I would like to see this working using SP initiated.
I think this could be an issue with the NGINX configuration. You mentioned you can log-in from your IDP. What happens when you click “SAML Login” from the Redash login page?
Hey @k4s1m, thanks again. When logging in through the SAML login button we are redirected to our IDP authentication page ok. Authentication with ADFS is successful once we enter our credentials, however the IDP throws an error at that point that states:
Error details: MSIS7085: The server requires a signed SAML authentication request but no signature is present.
You mentioned this could be an nginx configuration problem. What kind of nginx config options are you thinking about here? Here’s the nginx config from inside the container:
Thanks for that. I doubt NGINX is the culprit. I’ve seen it before where clicking SAML Login on the Redash login screen resulted in a 500 error because of an outdated NGINX version. But it sounds like this button properly routes you to the IDP. No dice.
Do I understand the warning correctly? Is Microsoft expecting Redash to send a signed request? Or is Redash expecting Microsoft to send a signed request?