Valbou / vtaskr-backend

An open-source to do list application for personnal use
GNU General Public License v3.0
5 stars 0 forks source link

Add 2FA #3

Closed Valbou closed 1 year ago

Valbou commented 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.