Set up a two-factor code for a login
Have a Password Vault login show the code a website asks for after your password, copy the code, and change or remove its setup key.
A Login can also give you the code a website asks for after your password (often called a 2FA, OTP or authenticator code).
Set up the code
- Open the Login and choose Set up two-factor code.
- Choose Scan QR code and point your camera at the QR code the website
shows when you turn on two-factor authentication, or paste the setup key
printed under it. An
otpauth://link works too. - A QR code or link carries the issuer, account, digits, seconds per code and algorithm. To set them yourself, open Labels and code settings.
QR scanning uses the device camera. On the website, Scan QR code appears only in browsers that can read QR codes; elsewhere, paste the setup key.
Supported algorithms are SHA1, SHA256 and SHA512. Counter-based HOTP and Steam codes are not supported.
Read or copy the code
The Login shows the current code and seconds remaining. Copy current code copies the digits without spaces and generates the code again at copy time. On the website, a progress bar also shows the time remaining. Codes depend on your device clock; use automatic date and time if a website rejects them.
Change or remove the code
Reveal setup details shows the setup key and its settings. Change two-factor code replaces them; Remove two-factor code removes the stored key. Removing it from Magpie does not turn off two-factor authentication on the website. In the native app, choose Use these setup details, then Save encrypted item to save the change.
What storing the setup key with the password means
The setup key and its labels are encrypted with the Login. Codes are generated in your browser or app, and neither the setup key nor a generated code is sent to Magpie. Saving the password and setup key together reduces the independence of the second factor: someone who can open this vault can use both. It still protects against someone obtaining the password alone. A phished current code can still be used before it expires.
If a Login's code is rejected with the device's date and time set automatically, Contact support.
Ask Magpie support
Send Magpie staff a question about anything this article does not answer.