AuthenticationPasskeys
Start signing in with a passkey
GET
Generate authentication options for a passkey
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
Success
application/json- response
challenge?stringrp?user?timeout?numberallowCredentials?array<>userVerification?stringauthenticatorSelection?extensions?Example Request
curl -X GET 'http://localhost:3000/api/auth/passkey/generate-authenticate-options'Example Response
{ "challenge": "string", "rp": { "name": "string", "id": "string" }, "user": { "id": "string", "name": "string", "displayName": "string" }, "timeout": 0, "allowCredentials": [ { "id": "string", "type": "string", "transports": [ "string" ] } ], "userVerification": "string", "authenticatorSelection": { "authenticatorAttachment": "string", "requireResidentKey": true, "userVerification": "string" }, "extensions": {}}