RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
39.96k stars 10.3k forks source link

Opaque login with oauth provider #11262

Open uncledent opened 6 years ago

uncledent commented 6 years ago

We are making an integration of RocketChat to our React Native mobile application, so we need to find a way how we can login user to rocketchat automatically. We are using Keycloak and we managed to make it work as oauth provider, when user has to click on button, which redirects him to the KeyCloak login screen.

This is a good start, but we need to proceed the login automatically, because we are already logged in and have a Keycloak token, so we need some way to exchange the Keycloak token for rocketchat token.

Any advice on this?

pierreozoux commented 4 years ago

@uncledent did you manage to find a way?