Second factors and recovery
Offer the strongest second factors first and make recovery hard to abuse. Recovery codes, two factors each and a slow, loud last resort keep owners in.
- Required 1
- Recommended 10
- Avoid 1
Required
Offer two-factor login
ACC-70Require a second factor for staff and for admins of customer organisations, and offer one to every user. Staff use only passkeys or security keys.
Recommended
Offer second factors from strongest to weakest
ACC-17Offer passkeys and security keys first, then authenticator apps. Offer push approval only when the person types a number from the sign-in screen. SMS and email codes are fallbacks, never the only factor of an organisation admin. Staff use only passkeys or security keys.
Confirm a second factor before turning it on
ACC-18Turn on a new second factor only after the person proves it works once, and let them give it a name.
Give recovery codes with the first second factor
ACC-19When someone turns on a second factor, give them 10 single-use recovery codes of at least 64 random bits each, and store only their hashes.
Ask everyone to keep two ways in
ACC-20Prompt each person with one second factor to add another, such as a second passkey or a security key.
Plan for losing every factor
ACC-21Write down one recovery path for people who lost every factor and every recovery code. Make it slower and louder than sign-in.
Tell people about every change to their sign-in
ACC-22Notify every verified address within 5 minutes of a security change. That means an added or removed factor, a used recovery code, a new email or password, or a new device.
Ask again before changing how someone logs in
ACC-78Ask for the password or the second factor again before a change to the email, password, second factor, payout details or account owner. Tell the old address.
Let organisations require a second factor
ACC-24Let organisation owners require a second factor for every member, and hold members without one at a setup page.
Tell people when their password worked but the second factor failed
ACC-25When a sign-in passes the password but fails the second factor, offer another factor and notify the account owner. Show the attempt at their next sign-in too.
Let a remembered device skip only the second factor
ACC-26A "remember this device" choice may skip the second factor at sign-in for at most 30 days. It never skips the first factor, admin sign-in or the check before a sensitive change.
Avoid
Never use security questions
ACC-23Never use security questions, or facts such as a birth date or the last digits of a card, to sign in or recover an account.
Read this with
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/accounts/second-factors-and-recovery">Agent Wranglers accounts and identity playbook</a>. In code you write, add a comment next to it with the same link.