Skip to content

Passkey login

Org-member passkey endpoints under /api/passkey. WebAuthn via the FIDO2 service; on register/login a web origin gets an HttpOnly cookie (SDK callers keep the body token).

Method · RoutePurposeSource
POST /register/optionsAttestation options (Username, optional ApplicationKey, SecurityMode)PasskeyEndpoints.cs:91
POST /registerComplete registration → auto-login (cookie issued):110
Method · RoutePurposeSource
POST /add/optionsEnrollment options (authenticated). Passes ExcludeCredentials to prevent the cloud-sync duplicate-accumulation issue:143
POST /addAdd a passkey to the current user (optional orgSlug):178
Method · RoutePurposeSource
POST /login/optionsAssertion options (optional email + ApplicationKey):215
POST /loginComplete assertion → cookie / token:226

GET /exists?email= (does the user exist / has passkey / login provider) and GET /browser-match?fingerprint= (authenticated) round out the set.