What changes when you turn it on
- A person who has a passkey signs in with it. While password sign-in is on, Auth refuses the password sign-in of that person with
403AUT-1019. - Lerian Console offers Sign in with a passkey after the person enters an email.
- A person who has no passkey signs in with a password when password sign-in is on, and with MFA when it is enabled.
- A passkey sign-in does not ask for a second factor.
Turn passkey sign-in on or off
Send
enabled to Update Passkey Policy. The caller needs the application-providers permission of plugin-identity with the action patch.
Get Passkey Policy shows the option and ssoActive, which is true when an SSO provider is active. It needs the action get.
While an SSO provider is active, Identity refuses to turn passkeys on with 409 IDE-1068. While passkeys are on, Identity refuses to configure an SSO provider with 409 IDE-1069.
Add a passkey
Each person adds their own passkey, with their own token. An account holds one passkey.
1
Begin the enrollment
Call Begin Passkey Enrollment with the person’s user ID. Identity answers the WebAuthn creation options and an
enrollmentToken.2
Create the passkey in the browser
Pass the options to
navigator.credentials.create.3
Finish the enrollment
Within 5 minutes, send the
enrollmentToken and the created credential to Finish Passkey Enrollment. An enrollment works once.PASSKEY_RECENT_AUTH_SEC seconds ago. Otherwise Identity refuses with 403 IDE-1070, and the person signs in again.
Identity refuses a new passkey with 409 IDE-1073 while passkey sign-in is off. It refuses with 409 IDE-1071 when the account already has a passkey. It refuses with 409 IDE-1075 when the account cannot hold a passkey.
These operations need the passkeys permission of plugin-identity: get to read the status, post to add a passkey, and delete to remove it.
Sign in with a passkey
1
Begin the sign-in
Send the person’s email to Begin a Passkey Login. Auth answers the WebAuthn request options and a
passkeyToken.2
Get the assertion in the browser
Pass the options to
navigator.credentials.get.3
Finish the sign-in
Within 5 minutes, send the
passkeyToken and the assertion to Finish a Passkey Login. Auth answers an access token and a refresh token. A passkeyToken works once.403 AUT-1016. When the sign-in cannot be completed, Auth answers 401 AUT-1017. After too many attempts for one email, the finish call answers 429 AUT-1018. Auth applies your IP allowlist to both calls, as it does to a password sign-in.
Discover How an Email Signs In returns passkeyEnabled, so your sign-in screen can offer the passkey option.
Remove a passkey
A person removes their own passkey with Delete Passkey. This also works while passkey sign-in is off. When a person loses the device, an administrator of the same organization removes the passkey with
DELETE /v1/users/{id}/passkeys/admin, where {id} is the person. The caller needs the passkeys-admin permission of plugin-identity with the action delete. The call needs no recent sign-in and works while passkey sign-in is off. The person keeps the password and can add a new passkey. You can also turn passkey sign-in off. While password sign-in is on, the person then signs in with a password and removes the passkey. The route refuses the administrator’s own passkey with 403 and IDE-1074.
Manage passkeys in the Console
In Settings › Security, the Passkey tab lets a person add or remove their own passkey. The tab also holds the Allow passkey sign-in switch, which needs the
application-providers permission with the action patch. An administrator removes the passkey of another person from the Security tab of that person’s user page.
Deployment requirements (BYOC)
- Set
MFA_SECRETin Auth. Without it, both passkey sign-in calls answer503AUT-0028. See MFA deployment requirements. PASSKEY_RECENT_AUTH_SECin Identity sets the maximum age, in seconds, of the token that adds or removes a passkey. The default is600.- Run Caradhras v2.0.0 or later.
- In Caradhras, set
webauthnRpIdandwebauthnRpOrigins: the domain that your sign-in pages share, and the HTTPS origins of the pages that run a passkey ceremony.
Related pages
Multi-factor authentication
Add a second verification step to password and SSO sign-in.

