Meteorite accounts of the autologous pattern?

I'm thinking of a registration system with a mobile number, through which someone can register on a mobile phone and receive an SMS message to make sure that they exist ... at which point I would like them to automatically register without a password ... (SMS is basically a password)

This is a Lyft application registration template that does not ask for username / password, etc.

But for life, I can’t understand how to do this.

I am completely fine with the Meteor.method server, which responds with something "safe", but I do not know what it would be now.

The only thing I can think of is to set a password for the User, and then transfer it to the client and start the login (which seems to me unsafe).

I read this wonderful article https://meteorhacks.com/extending-meteor-accounts.html and this is a good option, but I don’t know a strategy for avoiding security too

(at some point, the server should communicate securely with the client ...)

Recommendations

+2
source share
1 answer

I made a package that could help you, a Meteor phone, which makes a login based on checking a mobile phone number. https://github.com/okland/accounts-phone/ Enjoy!

+2
source

Source: https://habr.com/ru/post/975168/


All Articles