Closed Valbou closed 1 year ago
After login, return a temporary token, with 5 min validity, and send a ramdom number to the user via email.
A temp token doesn't provide any access to endpoints.
After 2FA confirmation, a temp token become a normal token and it give to user access to endpoints normally.
After login, return a temporary token, with 5 min validity, and send a ramdom number to the user via email.
A temp token doesn't provide any access to endpoints.
After 2FA confirmation, a temp token become a normal token and it give to user access to endpoints normally.