Create Credential Challenge With Code

POST /auth/credentials/code/init

Part of the flow Create Credential With Code.

Creates a credential challenge using a one time code-time-code. This challenge must then be signed by the new credential, before finalizing the flow.

Required Permissions

The permissions apply to the application only.

NameConditions

Auth:Creds:Create

Always Required (on the Application)

Auth:Creds:Code:Create

Always Required (on the Application)

Request body

PropertyTypeDescription

code *

String

The code gotten from the Create Credential Code endpoint

credentialKind*

String

Kind of credential being registered (see Credential Kind)

{
  "code": "A7U-KY6-9PT",
  "credentialKind": "Fido2"
}

Response

Same as Create Credential Challenge endpoint

Last updated