Request a WebAuthn credential assertion challenge for login.
Calls Auth0 POST /passkey/challenge.
Optionaloptions: PasskeyChallengeOptionsOptional connection or organization.
Challenge with authSession and authnParamsPublicKey.
Request a WebAuthn credential creation challenge to enroll a new passkey
for the currently authenticated user.
Calls Auth0 MyAccount POST /me/v1/authentication-methods.
Requires an active session.
Optionaloptions: PasskeyEnrollmentChallengeOptionsComplete a passkey enrollment by verifying the WebAuthn attestation.
Calls Auth0 MyAccount POST /me/v1/authentication-methods/{id}/verify.
Requires an active session.
Complete a passkey signup or login by exchanging the WebAuthn assertion
for an Auth0 session. Calls Auth0 POST /oauth/token with the WebAuthn grant.
Session cookie is set automatically by the SDK.
authSession from the challenge + serialised credential.
Request a WebAuthn credential creation challenge for a new user signup.
Calls Auth0 POST /passkey/register.
Optionaloptions: PasskeyRegisterOptionsUser profile and optional connection/organization.
Challenge with authSession and authnParamsPublicKey.
Server-side passkey interface — individual step methods for authentication flows. Used by
auth0.passkeyon the server singleton. Each method maps directly to one Auth0 API call.