K
K
Konstantin2019-06-15 19:27:24
Vue.js
Konstantin, 2019-06-15 19:27:24

How to implement a project on vue with sms registration?

Hello, I'm new to the vue js topic but still interested in the development theory of a particular application. Interested in your opinion on the implementation.
The purpose of the application: Development of a personal user account. User data is stored in CRM and then we take it via API from another resource. (now users (clients) do not have access to this data), this database is maintained by employees.
Task: Provide users with access to their data by login and password with the ability to change the password
Idea:The database stores the user's mobile number, is it possible to identify the user by the number and provide a password for a specific personal account. Instead of registering, the user enters a phone number and receives an SMS with a password. With this password and phone number, he gets access to his data.
How to implement such a miracle with SMS by password? On what topic to study materials?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin, 2019-06-15
@gradk

I think that there are many SMS sending services that can make your task easier.
Step by step, I imagine it like this:
1. The user enters data for authorization (for example, a phone number).
2. The entered data is sent to the backend, which, in turn, sends a request to the SMS mailing service
. 3. The user receives an SMS. He enters the code from the SMS into the next form and sends it again
4. If the SMS matches the generated one, authorization occurs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question