two-factor-auth

Two Factor Authentication Java code implementing the Time-based One-time Password Algorithm (by j256)

Two-factor-auth Alternatives

Similar projects and alternatives to two-factor-auth

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better two-factor-auth alternative or higher similarity.

two-factor-auth reviews and mentions

Posts with mentions or reviews of two-factor-auth. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-27.
  • How does Google Authenticator work?
    13 projects | news.ycombinator.com | 27 Aug 2021
    It's really easy to integrate into websites as well. I did so a few years ago. The TOTP algorithm is just a few lines of code. I adapted this implementation https://github.com/j256/two-factor-auth at the time. There are similar libraries available for lots of languages.

    You need a library like that and a way to convert an otp:// url into a QR code, for which there are many libaries as well. The rest is just implementing a sane UX around this. Storing the user's TOTP secret server side is a bit tricky. I suspect a plain text field in a database is quite common for this; which of course would be disastrous if that database were ever stolen. Secret stores don't scale for this as they tend to be designed for just a handful of secrets. We ended up encrypting these totp secrets using a key from our secret store.

Stats

Basic two-factor-auth repo stats
1
298
0.0
over 1 year ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com