Skip to content

M-Adrees-Umer/SecureTwoFactorAuthAPIWithGoogle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecureTwoFactorAuthAPIWithGoogle

Secure Two-Factor Authentication API with Google Authenticator

This project is a simple and secure implementation of Time-based One-Time Password (TOTP) authentication using Google Authenticator. It shows how to generate QR codes, manage shared secrets, and validate OTP codes in a .NET Web API. It’s a helpful starter template for anyone who wants to add 2FA to their own applications.

Features

Generate and register a TOTP secret for each user

Create a scannable QR code for Google Authenticator

Validate 6-digit OTP codes

Built with .NET Web API

Clean and easy-to-extend structure

Use cases

Secure login flows

Learning TOTP and Google Auth integration

Adding 2FA to existing .NET applications

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages