Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Get WebAuthn sign in options

POST/{apiBasePath}/{tenantId}/webauthn/signin/options
Path parameters
apiBasePathstringrequired
Its value depends on the apiBasePath set by the user
tenantIdstring
The tenant against which the request is made. If left empty, the default tenant will be used.
Header parameters
ridstring
The WebAuthn recipe ID
Responses
200WebAuthn sign in options
One of:
object
statusstatusOK
Success status indicator
Allowed:OK
webauthnGeneratedOptionsIdstring
createdAtstring
expiresAtstring
rpIdstring
challengestring
timeoutnumber
userVerificationstring
Allowed:requiredpreferreddiscouraged
generalErrorResponse
statusstring
Error status code
Allowed:GENERAL_ERROR
messagestring
Error message
object
statusstring
Allowed:INVALID_OPTIONS_ERROR
404Resource not found error
string
500Internal server error
string
Try it
Server
Parameters
Request
curl -X POST "/auth/public/webauthn/signin/options"
Response
{
  "status": "OK",
  "webauthnGeneratedOptionsId": "opt_123...",
  "createdAt": "2024-03-20T10:00:00Z",
  "expiresAt": "2024-03-20T10:05:00Z",
  "rpId": "example.com",
  "challenge": "base64challenge...",
  "timeout": 300000,
  "userVerification": "required"
}

API reference

API schema and response details