Skip to main content

Create a FIDO2 credential

POST 

/nevisidm/api/core/v1/:clientExtId/users/:userExtId/fido2

Since: 2.86.0

Required permission(s): AccessControl.CredentialCreate,AccessControl.CredentialChangeState,AccessControl.CredentialView

Creates a new FIDO2 credential for the specified user. The fields aaguid, authenticator, attestationConveyancePreference, hashedCredentialId, rpId, residentKeyRequirement, and userVerificationRequirement are mandatory.

Request

Path Parameters

    clientExtId stringrequired

    External ID of the client.

    Example: client-123
    userExtId stringrequired

    External ID of the user.

    Example: user-123

Body

required
    extId string

    The external ID of the credential.

    aaguid stringrequired

    Possible values: non-empty

    A 128-bit identifier indicating the type (make/model) of the authenticator.

    authenticator stringrequired

    Possible values: non-empty

    The authenticator used for FIDO2 which can contain credentialId.

    authenticatorAttachment string

    Possible values: [platform, crossplatform]

    AuthenticatorAttachment parameter.

    attestationConveyancePreference stringrequired

    Possible values: non-empty, [direct, indirect, none, enterprise]

    AttestationConveyancePreference parameter.

    hashedCredentialId stringrequired

    Possible values: non-empty

    Hashed value of credential ID generated by the authenticator.

    rpId stringrequired

    Possible values: non-empty

    Domain of the party using this authentication for its website.

    residentKeyRequirement stringrequired

    Possible values: non-empty, [required, discouraged]

    ResidentKey parameter.

    userAgent string

    UserAgent of the browser used.

    userFriendlyName string

    Human readable name of the credential.

    userVerificationRequirement stringrequired

    Possible values: non-empty, [required, preferred, discouraged]

    User Verification parameter.

    stateName string

    Possible values: [active, disabled]

    State of the credential.

Responses

FIDO2 credential created successfully

Response Headers
  • Location any

    URL of the created resource

Loading...