Auth Settings

Get Identity Provider

Changed on

Retrieves the configuration of a single identity provider. This operation returns information about a specific identity provider's settings and authentication integration details.

get/v3/identity-providers/{id}

Request

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

Path parameters

id, string uuid required
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a

ID of the identity provider.

Response

An identity provider configuration. This response represents the configuration of a specific identity provider, which can be either OIDC or SAML.

IdentityProvider required

The identity provider that contains configuration data for authentication integration.

id, string uuid

Contains a unique identifier used for this resource.

type, 'oidc' | 'saml'

Specifies the type of identity provider.

enabled, boolean

Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC.

login_path, string

The path used for initiating login requests with the identity provider.

config, union
created_at, string date-time

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "type": "oidc",
  "enabled": true,
  "login_path": "myapp",
  "config": {
    "issuer_url": "https://konghq.okta.com/oauth2/default",
    "client_id": "YOUR_CLIENT_ID",
    "client_secret": "YOUR_CLIENT_SECRET",
    "claim_mappings": {
      "name": "name",
      "email": "email",
      "groups": "groups"
    }
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

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