SAML with layout = embedded not working

Description

I setup SAML for authenticating user to rocketchat. I like to use the layout=embedded for a simple chat on my website - only one channel. So if the user first time come to my site (http://mysite/channel/general?layout=embedded) he will be redirected to the IdP (simplesaml) and after successfull authentication he will be redirect to: http://mysite/home?saml_idp_credentialToken=xxx. This is not the site with embedded layout :frowning:

Did I do something wrong? Are there more params necessary than layout=embedded?

Thanks for help :slight_smile:
Stephan

Server Setup Information

  • Version of Rocket.Chat Server: 3.3.3
  • Operating System: linux
  • Deployment Method: docker
  • NodeJS Version: 12.16
  • MongoDB Version: 4.0.19

I had to ON this two options to allow the iFrame using, by default that options are OFF

ADMIN --> GENERAL --> iFrame Integration

Sorry, but that doesn’t help. I’ll still get the /home after login with saml. Did you really use SAML for login?
If you use a normal login with username and password, it works. You start with embedded layout and after login your are still in embedded layout - but not with SAML.

Thanks,
Stephan