speakeasyjs / speakeasy

**NOT MAINTAINED** Two-factor authentication for Node.js. One-time passcode generator (HOTP/TOTP) with support for Google Authenticator.
MIT License
2.68k stars 229 forks source link

The URI format is described here: https://github.com/google/google-authenticator/wiki/Key-Uri-Format <https://github.com/google/google-authenticator/wiki/Key-Uri-Format> #141

Open btcwhiz opened 3 years ago

btcwhiz commented 3 years ago

The URI format is described here: https://github.com/google/google-authenticator/wiki/Key-Uri-Format https://github.com/google/google-authenticator/wiki/Key-Uri-Format

To change the application name, use the issuer. To display user-specific account details (e.g. email address), use the label field.

In Speakeasy, pass the issuer and label options to otpauthURL({…}).

Originally posted by @mikepb in https://github.com/speakeasyjs/speakeasy/issues/68#issuecomment-272950840