Click here to Skip to main content
16,004,653 members
Articles / Programming Languages / Java

How to add a Multifactor Authentication using Microsoft or Google Authenticator

Rate me:
Please Sign up or sign in to vote.
4.70/5 (5 votes)
15 Jul 2024CPOL2 min read 7.1K   27  
A time-based, One-time Password Algorithm (RFC-6238, TOTP - HMAC-based One-time Password Algorithm) based token, implemented by e.g. Microsoft or Google Authenticator mobile application.
Mobile application allows you to register your account with Microsoft / Google or any other TOTP authenticator application (via a specially generated QR code). After successful registration, the authenticator application will generate a new code every 30 seconds which could be used to implement MFA based sign-in. To make it a complete MFA, a PIN is added as a prefix to the application generated code. The sign-in password or some call it Passcode will be PIN+Code.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Canada Canada
B.E. Electrical Engineering P.E. 1994
Working currently as Senior Engineer in world's leading IT / Security firm.

Comments and Discussions