Login with phone number?

I have a Rocket chat custom (reskinned) web, iOS and android app.

I have done search can couldn’t find the answer

But I need to have it so that people MUST login to my app using their phone number and they MUST register using a phone number (email and password shouldn’t be enough). Custom fields aren’t that good for phone number. Can someone tell me what to do (or tell me what to tell a developer to do?

Hi!

You can try doing that by leveraging the CREATE TOKENS API

Basically, you will handle auth your way, and once you get assert it can be authed, you will generate a token and redirect user to http://chat.company.com/?resumeToken=received_token

let me know if this helps :slight_smile: