How to integrate Rocket.Chat authentication with an existing App having users in its own database. Existing Travel App has all its users in a custom users table, using email/password based authentication. We want to enable chat amongst tourists who register for tour packages on a certain day. How do we authenticate existing tourists to automatically authenticate against Rocket.Chat as well, as we want to use the REST API(s) for a seamless integration.
We don't want to use the iFrame integration as we have an existing Web built using React JS + Mobile Apps built using React Native, what would be the best approach here
REST for creating user is here now: https://developer.rocket.chat/reference/api/rest-api/endpoints/core-endpoints/users-endpoints/create-user
REST for creating user authToken: https://developer.rocket.chat/reference/api/rest-api/endpoints/core-endpoints/users-endpoints/create-users-token