Before you start
You need:- Two-factor authentication enabled on your Sure account
- A browser that supports WebAuthn passkeys or security keys
- A passkey-capable device, password manager, Touch ID, Windows Hello, or hardware security key
Self-hosted admins should configure the WebAuthn relying party settings before users register passkeys. See Self-hosting configuration.
Add a passkey or security key
- Go to Settings → Security.
- Enable 2FA if it is not already enabled.
- Find Passkeys and security keys.
- Enter a recognizable key name, such as “MacBook Touch ID” or “YubiKey”.
- Enter your current authenticator code or an unused backup code.
- Select Add passkey or security key.
- Follow your browser, operating system, password manager, or hardware key prompt.
Sign in with a passkey
If passkey login is enabled:- Go to the Sure sign-in page.
- Select Sign in with a passkey.
- Complete the browser prompt with the same passkey, device, or hardware key you registered.
- Sign in with your Sure account as usual.
- When Sure asks for two-factor verification, select Use passkey or security key.
- Complete the browser prompt with the same passkey, device, or hardware key you registered.
Remove a passkey
- Go to Settings → Security.
- In Passkeys and security keys, find the key you no longer want to use.
- Select Remove and confirm.
Self-hosting configuration
For self-hosted deployments, set stable WebAuthn relying party values before people register passkeys:WEBAUTHN_RP_ID is usually the registrable domain, such as example.com, not a full URL and not a hostname with a port.
WEBAUTHN_ALLOWED_ORIGINS is a comma-separated list of full origins where people access Sure, including scheme and host:
false if you only want passkeys and security keys to work as an MFA method after email/password sign-in.
Upgrading an instance that already has passkeys
Passwordless sign-in is on by default, and it applies to passkeys that were registered before this feature existed. A passkey a user added purely as a second factor can, after the upgrade, sign that user in on its own. This applies to a credential only if the authenticator that holds it made it discoverable. Registration asks withresidentKey: "preferred", which an authenticator is free to decline, and nothing in the database records what it decided — so Sure cannot tell you in advance which existing credentials are affected. Password managers and platform authenticators (Proton Pass, iCloud Keychain, 1Password, Bitwarden, Windows Hello) store discoverable credentials by default, so theirs generally are. A credential stored non-discoverably — such as one on a hardware key with no free resident-key slot — stays second-factor only. Nothing needs to be re-registered either way.
The opt-out is instance-wide. There is no per-user or per-credential setting: to keep passkeys as a second factor for everyone, set AUTH_PASSKEY_LOGIN_ENABLED=false before upgrading. A single user can only opt out by removing the credential.
This is not a reduction in security. The passwordless ceremony requires user verification, so the passkey alone is still two factors. It is a change in what an already-registered credential can do.