Skip to content

toi-la-qanh/authenticator-app

Repository files navigation

Authenticator App

Node.js Express.js TypeScript

Host yourself an authenticator app, don't use Google, manage your own datas, only you know your passwords and otps.

Install

npm install
npm run dev

Features

  • Create account and login.
  • Store, generate and retrieve OTPs.
  • Store and retrieve passwords.

API

Method Endpoint Description Parameters
POST api/users/signup Create a new user name, password
POST api/users/login Login a user name, password
GET api/passwords Get all passwords stored of current user
POST api/passwords Store a new password passwordName, password(optional)
GET api/otp Get all OTP codes for current user
POST api/otp/add Add a new OTP codes secret, name
POST api/otp/generate Generate a OTP code for authenticating name

About

A self host authenticator app which can be used to generate and verfiy 2FA codes, and also store your own passwords

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published