Unable to validate response url: Error: Missing SAML assertion

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

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

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.

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?

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.

2 Likes