---
title: "CreateDcrProviderRequestAuth0"
url: "https://nov18-dev.movespot.fyi/apis/konnect-application-auth-strategies-2/versions/bd73d053-0812-4727-92b1-ce07bee7e3a8/schemas/CreateDcrProviderRequestAuth0"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-application-auth-strategies-2/versions/bd73d053-0812-4727-92b1-ce07bee7e3a8.md

# CreateDcrProviderRequestAuth0

Request body for creating an Auth0 DCR provider.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Application Auth Strategies
  version: 2.0.6
servers:
  - url: https://us.api.konghq.com/v2
    description: United-States Production region
  - url: https://eu.api.konghq.com/v2
    description: Europe Production region
  - url: https://au.api.konghq.com/v2
    description: Australia Production region
  - url: https://me.api.konghq.com/v2
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v2
    description: India Production region
  - url: https://sg.api.konghq.com/v2
    description: Singapore Production region
components:
  schemas:
    CreateDcrConfigAuth0InRequest:
      description: Payload to create an Auth0 DCR provider.
      type: object
      properties:
        initial_client_id:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientId"
        initial_client_secret:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientSecret"
        initial_client_audience:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientAudience"
        use_developer_managed_scopes:
          type: boolean
      additionalProperties: false
      required:
        - initial_client_id
        - initial_client_secret
      title: DcrConfigAuth0InRequest
    DcrProviderName:
      description: >
        The name of the DCR provider. This is used to identify the DCR provider
        in the Konnect UI.
      type: string
      maxLength: 256
      minLength: 1
    DcrProviderDisplayName:
      description: >
        The display name of the DCR provider. This is used to identify the DCR
        provider in the Portal UI.
      type: string
      maxLength: 256
      minLength: 1
    Labels:
      description: >
        Labels store metadata of an entity that can be used for filtering an
        entity list or for searching across entity types. 


        Keys must be of length 1-63 characters, and cannot start with "kong",
        "konnect", "mesh", "kic", or "_".
      type: object
      example:
        env: test
      additionalProperties:
        type: string
        pattern: ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$
        minLength: 1
        maxLength: 63
      maxProperties: 50
      title: Labels
    DcrConfigPropertyInitialClientId:
      description: >
        This ID should be copied from your identity provider's settings after
        you create a client

        and assign it as the management client for DCR for this developer portal
      type: string
      maxLength: 256
      title: DcrConfigPropertyInitialClientId
    DcrConfigPropertyInitialClientSecret:
      description: >
        This secret should be copied from your identity provider's settings
        after you create a client

        and assign it as the management client for DCR for this developer portal
      type: string
      maxLength: 256
      title: DcrConfigPropertyInitialClientSecret
    DcrConfigPropertyInitialClientAudience:
      description: >
        This is the audience value used for the initial client.

        If using a custom domain on Auth0, this must be set as to the Auth0
        Management API audience value.

        If left blank, the issuer will be used instead.
      type: string
      maxLength: 256
      nullable: true
      title: DcrConfigPropertyInitialClientAudience
    CreateDcrProviderRequestAuth0:
      description: Request body for creating an Auth0 DCR provider.
      type: object
      properties:
        provider_type:
          type: string
          enum:
            - auth0
        dcr_config:
          $ref: "#/components/schemas/CreateDcrConfigAuth0InRequest"
        name:
          $ref: "#/components/schemas/DcrProviderName"
        display_name:
          $ref: "#/components/schemas/DcrProviderDisplayName"
        issuer:
          type: string
          format: url
          maxLength: 256
        labels:
          $ref: "#/components/schemas/Labels"
      required:
        - provider_type
        - dcr_config
        - name
        - issuer
      title: CreateDcrProviderRequestAuth0
```
