API reference Embed
Sign in with a passkey in the embedded approval
POST/v1/embed/sign-in
Verifies the assertion against the session's challenge. It must come from the approval in a frame whose top-level origin is the embed's platform (crossOrigin true, topOrigin that origin). The session then signs for the passkey's user.
Headers
Content-Typeapplication/jsonRequiredkeelson-embedstringIdempotency-KeystringRequired- 1 to 255 characters. A retry with the same key returns the first answer.
Request body
application/json
idstringRequiredrawIdstringRequiredtypestringRequired- One of
public-key responseobjectRequiredauthenticatorAttachmentstringclientExtensionResultsobject
Responses
- 200Who the frame signs for
- 401No live embed session, or the passkey did not verify
200 response
passkeysarray of objectRequiredcredentialIdstringRequired