Google Authenticator, in Your Web Browser
Submitted by Bill St. Clair on Sun, 28 Feb 2016 12:02:39 GMT
In anticipation of version 2.1 of the SMF forum software, which supports two-Factor authentication, I have written, in a single JavaScript-heavy web page, a near-clone of the Google Authenticator smart phone app. This allows you to enter one or more secret keys for two-factor authentication, and get the time-varying passwords you need to log in. Some of the administrators for a forum I maintain don't have smart phones, so they'll need an alternative if they are to use two-factor authentication.
It should work with any web site for which Google Authenticator works, assuming your computer's time is properly synchronized, which most modern computer's are.
It is entirely contained in one HTML file, and all the computations are done locally on your computer by the JavaScript in that file.
https://billstclair.com/two-factor-authenticator/
Documentation included in the file.
GitHub link at the bottom for the programmers in the audience.