Two-factor authentication (2FA) is a dual verification of a user’s identity at the time of login. It adds an extra layer of security to protect a user’s account from being hacked.
It is done in two unique steps during which a user enters their credentials. Typically:
- The user provides a password.
- The user provides a second authentication factor, such as a one-time use code (OTP) sent to their phone.