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.
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?