Skip to content
Dashboard
Theme
Theme

Start a passkey sign-in

POST /v1/user_management/passkeys/authentication_options: Start a passkey sign-in.

View Markdown

Headless, discoverable credential.

POST /v1/user_management/passkeys/authentication_options

Returns WebAuthn request options for a discoverable credential on the hosted sign-in relying party. Expires in 5 minutes.

Scope
users:write
Auth
Secret key (sk_…)
Since
1.0
  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X POST \
"https://api.ohauthcat.com/v1/user_management/passkeys/authentication_options" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"public_key": {}
}