---
title: "OAuth Config"
url: "https://us-prod.jeffyongtaotang.com/apis/konnect-service-catalog-1/versions/cdbef9b7-686c-4189-bbc8-55c727a972e8/schemas/UpsertOAuthAuthConfig"
---

> Full API specification: https://us-prod.jeffyongtaotang.com/apis/konnect-service-catalog-1/versions/cdbef9b7-686c-4189-bbc8-55c727a972e8.md

# OAuth Config

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Service Catalog
  version: 1.3.0
servers:
  - url: https://us.api.konghq.com/v1
    description: United-States Production region
  - url: https://eu.api.konghq.com/v1
    description: Europe Production region
  - url: https://au.api.konghq.com/v1
    description: Australia Production region
  - url: https://me.api.konghq.com/v1
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v1
    description: India Production region
  - url: https://sg.api.konghq.com/v1
    description: Singapore Production region
components:
  schemas:
    UpsertOAuthAuthConfig:
      title: OAuth Config
      x-speakeasy-name-override: oauth_config
      type: object
      additionalProperties: false
      required:
        - type
        - client_id
        - client_secret
        - authorization_endpoint
        - token_endpoint
      properties:
        type:
          type: string
          enum:
            - oauth
          x-terraform-transform-const: true
        client_id:
          type: string
          description: The OAuth client identifier.
          example: d745213a-b7e8-4998-abe3-41f164001970
        client_secret:
          type: string
          description: The OAuth client secret.
          example: s3cr3t4p1cl13ntt0k3n1234567890abcdef
          writeOnly: true
        authorization_endpoint:
          type: string
          format: uri
          description: The URL where users are redirected to authorize access.
          example: https://identity.service.com/oauth/authorize
        token_endpoint:
          type: string
          format: uri
          description: The URL used to retrieve access tokens.
          example: https://identity.service.com/oauth/token
```
