Auth Settings

Update IdP Configuration

Changed on

Update the IdP configuration.

patch/v3/identity-provider

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Request body

object required
issuer, string uri
login_path, string
client_id, string
client_secret, string
scopes, string[]
claim_mappings, object

Example request

{
  "issuer": "https://myidp.com/oauth2",
  "login_path": "myapp",
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET",
  "claim_mappings": {
    "name": "name",
    "email": "email",
    "groups": "custom-group-claim"
  }
}

Response

A get action response of the IdP configuration.

IdP required

The IdP object contains the configuration data for the OIDC authentication integration.

NOTE: The openid scope is required. Removing it could break the OIDC integration.

issuer, string uri
login_path, string
client_id, string
scopes, string[]
claim_mappings, object

Example response

{
  "issuer": "https://myidp.com/oauth2",
  "login_path": "myapp",
  "client_id": "YOUR_CLIENT_ID",
  "claim_mappings": {
    "name": "name",
    "email": "email",
    "groups": "custom-groups-claim"
  }
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status