/webauthn/register-options

These are the possible response codes when you make an API call to the /webauthn/register-options endpoint.

Response Code

Error

Message

Scenario

Resolution

200 OK

authorization_code value

response_type is code

401 Unauthorized

http_exception

Unauthorized

Expired access_token

Login again and get new access token.

401 Unauthorized

http_exception

Unauthorized

No access_token supplied

Add access_token in the `Authorization" header.

403 Forbidden

http_exception

Forbidden

Invalid client_id. Could not find client settings.

Recheck and supply a valid client ID.

422 Unprocessable Entity

Invalid_parameters

{
"client_id":"field required"
}

No client_id supplied

Add the client_id to the request.