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

None

Request body

Property
Type
Description

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