Answer the question
In order to leave comments, you need to log in
How to do 2 factor authentication?
Hello. The project required 2 factor authorization.
How does this happen (meaning the interaction of the front and the back)?
That is, according to my logic: The
user enters a password and the login presses the confirm button, this data is sent to the back, some key is generated on the back and sent to the user to the specified mail, he inserts this key into the input, presses confirm, this key is sent to the back and checks with the fact that it was generated, if everything is fine, we let the user into the app.
If you have any articles or examples, please post them.
Technology stack:
Answer the question
In order to leave comments, you need to log in
The user enters a password and the login presses the confirm button, this data is sent to the back
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question