Forum Discussion
Racer77
2 months agoNew Contributor
Feature Request: Register for the otpauth:// scheme in Android app
Android permits applications to handle intents for the otpauth:// URI scheme. Bitwarden and Red Hat's FreeOTP use this to add 2FA secrets to credentials. When combined with Circle to Search (or pasting a URI into the Android Launcher), it makes it much easier to add 2FA secrets on the same device.
For example, here's a generated version of Google's classic example (otpauth://totp/Example:alice@google.com?secret=JBSWY3DPEHPK3PXP&issuer=Example):
Circle To Search provides the following suggestion which can be handled by various apps:
This is Bitwarden's flow:
Here's the https://github.com/freeotp/freeotp-android/blob/3cff613a1b11f48877849d9724c99627492c603f/mobile/src/main/AndroidManifest.xml#L51-L63.