Skip to content

Create an authenticator

Request

Identity Engine
OAuth 2.0 scope:
  • okta.authenticators.manage

Creates an authenticator

Query
activateboolean

Whether to execute the activation lifecycle operation when Okta creates the authenticator

Default:true
Bodyapplication/jsonrequired
descriptionstring

The description of the authenticator. This setting is only available for the webauthn authenticator type (Passkeys).

keystring(AuthenticatorKeyEnum)

A human-readable string that identifies the authenticator

Enum:"custom_app""duo""external_idp""google_otp""okta_email""okta_password""okta_verify""onprem_mfa""phone_number""security_key"
Discriminator
namestring

Display name of the authenticator

statusstring(LifecycleStatus)

Status of the authenticator

Enum:"ACTIVE""INACTIVE"
typestring(AuthenticatorType)

The type of authenticator

Enum:"app""email""federated""password""phone""security_key""security_question""tac""proximity"
agreeToTermsboolean

A value of true indicates that the administrator accepts the terms for creating a new authenticator. Okta requires that you accept the terms when creating a new custom_app authenticator. Other authenticators don't require this field.

providerobject
settingsobject
curl -i -X POST \
  'https://subdomain.okta.com/api/v1/authenticators?activate=true' \
  -H 'Content-Type: application/json' \
  -d '{
    "key": "duo",
    "name": "Duo Security",
    "provider": {
      "type": "DUO",
      "configuration": {
        "userNameTemplate": {
          "template": "oktaId"
        },
        "integrationKey": "testIntegrationKey",
        "secretKey": "testSecretKey",
        "host": "https://api-xxxxxxxx.duosecurity.com"
      }
    }
  }'

Responses

OK

Bodyapplication/json
createdstring, (date-time)read-only

Timestamp when the authenticator was created

descriptionstring

The description of the authenticator. This setting is only available for the webauthn authenticator type (Passkeys).

idstringread-only

A unique identifier for the authenticator

keystring(AuthenticatorKeyEnum)

A human-readable string that identifies the authenticator

Enum:"custom_app""duo""external_idp""google_otp""okta_email""okta_password""okta_verify""onprem_mfa""phone_number""security_key"
Discriminator
lastUpdatedstring, (date-time)read-only

Timestamp when the authenticator was last modified

namestring

Display name of the authenticator

statusstring(LifecycleStatus)

Status of the authenticator

Enum:"ACTIVE""INACTIVE"
typestring(AuthenticatorType)

The type of authenticator

Enum:"app""email""federated""password""phone""security_key""security_question""tac""proximity"
agreeToTermsboolean

A value of true indicates that the administrator accepts the terms for creating a new authenticator. Okta requires that you accept the terms when creating a new custom_app authenticator. Other authenticators don't require this field.

providerobject
settingsobject
Response
{ "type": "app", "id": "aut9gnvcjUHIWb37J0g4", "key": "duo", "status": "ACTIVE", "name": "Duo Security", "created": "2022-07-15T21:14:02.000Z", "lastUpdated": "2022-07-15T21:14:02.000Z", "settings": {}, "provider": { "type": "DUO", "configuration": { … } }, "_links": { "self": { … }, "deactivate": { … }, "methods": { … } } }