duo-extension
Browser extension for generating HOTP passcodes for Duo Security multi-factor authentication.
Compatible with Firefox and Chromium-based browsers (Chrome, Edge, etc.)
Credits
- Yusuf Bham for original Python Duo HOTP secret fetch and passcode generation script. You can find this script here.
Setup
- Once you've installed the extension, sign in to your service and navigate to your Duo multi-factor authentication portal/page.
- Select "Add a new device".
- Authenticate as your normally would, if prompted.
- Select "Tablet" from the list of devices.
- Select "Android" from the list.
- Press "I have Duo Mobile installed" if prompted.
- You will reach a screen with a QR code on it. At this point, open the extension from your browser's toolbar and press "Scan Page for Duo QR".
- If you followed the steps correctly, the extension will notify you that scanning is complete. If it does not, please report an issue on the GitHub repository. At this point, setup is complete!
Usage
- Using the extension after setup is very simple. Sign in to your intended service and navigate to your multi-factor authentication portal when you wish to log in.
- Click the extension's icon in your browser's toolbar. It should automatically log you in from there!
Alternative
- If the extension fails to automatically log you in by now, you can try pasting in your HOTP code manually. Click on the extension icon and copy the code displayed. Clicking it will automatically copy to clipboard.
- Paste the code into the Passcode authentication option and press "Log In".
- If this does not work, you can try generating a new code ("Generate new code" option in extension), reinstalling the extension and setting it up as a new device, or submitting an issue to the GitHub repository.