Authenticated endpoint. Returns PublicKeyCredentialCreationOptions for the SPA to pass to navigator.credentials.create(). Stores the challenge in KV with a 30-second TTL; the companion /verify-enroll endpoint consumes it. excludeCredentials is pre-populated with the user’s existing passkeys so the authenticator prevents duplicate enrollment of the same key.
HttpOnly, Secure, SameSite=Lax cookie issued by /v1/auth/sign-in (or the SSO / email-callback flows). The value is an AES-256-GCM-encrypted blob of {access_token, refresh_token, issued_at, auth_method}. Browser clients include this automatically with credentials: "include".
WebAuthn creation options. Shape follows the WebAuthn Level 3 spec.