Skip to content

nazhG/2FA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-Factor Authentication Example

A simple example of Two-Factor Authentication (2FA) in a Node server.

Overview 📝

This example is a single-page application that generates a QR code, scans it with a 2FA app, for example, Google Authenticator, and then verifies the code.

2FA

it use the speakeasy to generate the TOTP codes.

if it helps you, please give a star ⭐️

How to Run 🚀

  1. Clone the repository:
git clone
  1. Install the dependencies:
npm install
  1. Start the server:
npm start
  1. Open your browser and navigate to http://localhost:1729.

Contributing 🔧

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published