Create 2FA enable page
While we don't have design of the app we will use separate pages for implement all auth logic
What is the engineering work to be done?
Page url: /2fa/enable
only for authorized users.
Enable 2FA flow:
- Input current password
- Fetch
/2fa/init
endpoint for get 2fa secret. - Prepare and display qr-code using 2fa secret has been received.
- Enter 2FA code generated google app.
- Send all data to
/auth/2fa/enable
- Handle response
Edited by Victor Fomenko