Unable to validate response url: Error: Missing SAML assertion


#1

Hey Ya’ll,

we want to use SAML via IDP (okta) but we’re getting the following error:

Sorry, an annoying error occured
Error: Unable to validate response url: Error: Missing SAML assertion
Close Window

Already google’d but we didn’t find any helpful content.
Maybe someone here can help.

thanks in advance


#2

What version of rocket.chat? I know of a few users that have done this successfully with okta


#3

It’s latest!
We have made it work after we’ve disabled encryption in the okta app… but this can’t be the right way.


#4

It might be the only way currently. Is there usually a key you have to include to decrypt? If so we may need to add support for doing decryption.

I’m not familiar enough with SAML and using encryption to do more then give a guess.

@pierre.lehnen any ideas?


#5

That error means that the mandatory element “Assertion” was not found inside the response. If disabling the encryption worked then it is likely that this element was inside the encrypted data and we do not support it yet.