Auto-Redirect user when using SSO

Hello i use SSO (keycloac with openID).

So when a user visits rocket.chat he is already signed in 100% of the times .

Right now when he visits rocket.chat he needs to press the SSO button to get logged in.

Anyone has a fix on how to automate this so when the user visits rocket.chat it auto logs him in without pressing the button.

I have made the installation using snaps if that helps.

Another solution to this problem is to make for example using javascript the button on the login page to always auto get clicked when on that page.

Can someone let me know if this is possible and is it as simple as going into layout and add a custom script for it ?

Did you ever figure anything out? Would love to know.

Hi there… we’ve used the rest API’s to auto log from our website to Rocket.chat… Happy to share what we did if it helps!

and they dont have to login… we managed to bypass the login…