Answer the question
In order to leave comments, you need to log in
How to confirm registration via SMS?
I would like to make sure that users of my site, when registering, could confirm their data via SMS, and only then it would be possible to continue registration. As on many sites, for example: Vkontakte, Avito, etc.
What would you advise me? How would this be done?
Answer the question
In order to leave comments, you need to log in
Register in any SMS sending service convenient for you, replenish the balance, and then the algorithm is extremely simple - when registering a user, generate a "secret code", write it to the database and send it using the api service for sending a message to the number that the client specified during registration. And then you just compare the code that the user enters with what is stored in the database.
I had a similar issue at work. I got acquainted with 55 sites from the Yandex catalog and chose this one for myself
https://www.bytehand.com/developers
pretty simple api and reasonable rates
There is another option to use CallPassword . Authorization through a call is much cheaper than SMS.
You need an API to receive/send SMS messages. Here sms-rassylki-po-api you can read how to send message texts using get requests to the server. The method is quite simple, any web programmer can handle it.
https://smsauth.ru
SMSAuth is a very cheap service for sending SMS to your phone with codes for confirmation and authorization on the site. Very clear and simple API.
If you have the ability to offer users to install the application, then you can do without SMS by performing authentication or confirming operations through
https://enum.ru
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question