question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow for directly entering otpauth:// URIs

See original GitHub issue

Describe the feature you want:

A common method of entering authentication codes is via the use of otpauth:// URIs in the form:

otpauth://totp/SiteName:user@email.com?secret=SECRET&issuer=SiteName&digits=7&period=30

Basically, the contents of the scanned QR codes. I would like to be able to enter them directly.

Why do you want this feature in Authenticator?

Some authenticator tools don’t make it easy to import/export a list of secrets from them, (looking at you Authy), and allowing the most common methods would increase the flexibility and usability of your tool.

In the Authy case, a common export method is to do a manual dump from the Chrome devtools (see this gist for details), which generates a bunch of URIs as described above. I could generate QR codes directly, but I’m on a desktop and can’t easily import them back into this extension.

As an aside, you could also allow the extension to register a protocol handler for otpauth:// URIs so if a site offers them, the user could just click on them to import them into the app.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mymindstormcommented, Feb 22, 2019

#286 will allow for adding otpauth URIs via the import page (file & text entry). @AfroThundr3007730 @johanberonius is this good enough for ya’ll?

1reaction
mymindstormcommented, Mar 23, 2019

5.3.0 has support and is rolling out. The import backup page (file or text) will accept a list of otpauth URIs seperated by newlines.

@AfroThundr3007730 digits support is being tracked at #287, manual entry improvements at #304

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatically import secret to google authenticator by uri ...
I found that it's easier to import the secret key by the web link on iOS. such as: <a href="otpauth://totp/TEST:TEST@gmail.com?algorithm ...
Read more >
Google Authenticator MFA - Auth0 Community
I'm trying to add MFA via Google Authenticator to a single-page web app, as well as iOS and Android mobile clients.
Read more >
Redirect URI (reply URL) restrictions - Microsoft Entra
A description of the restrictions and limitations on redirect URI (reply URL) format enforced by the Microsoft identity platform.
Read more >
passlib.totp – TOTP / Two Factor Authentication
label (str) – Label to associate with this token when generating a URI. ... allowing you to directly specify the secret keys that...
Read more >
Bitwarden Authenticator (TOTP) | Bitwarden Help Center
From any Bitwarden app by manually entering a secret ... can be customized in Bitwarden by manually editing the otpauth://totp/ URI for your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found