Auth Server Trusted IdPs

Update an auth server trusted IdP

Changed on

Replace a trusted IdP for a given auth server. The request body is the full representation; omitted optional fields are reset to their defaults.

put/v1/auth-servers/{authServerId}/trusted-idps/{authServerTrustedIdpId}

Request

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

Path parameters

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

The auth server ID

authServerTrustedIdpId, string uuid required
Example:7b5c1c2e-9f3a-4b6d-8e21-0a1b2c3d4e5f

The trusted IdP ID

Request body

UpdateAuthServerTrustedIdpPayload required
issuer_url, string uri required

The issuer URL of the trusted IdP. Unique per auth server.

display_name, string nullable

A human-friendly display name for the trusted IdP, distinct from its unique issuer_url.

jwks_uri, string uri

JWKS URI of the trusted IdP. Overrides OIDC discovery when set.

directory_id, string uuid required

The Kong Identity directory used for principal lookup and provisioning.

id_jag_enabled, boolean

Whether ID-JAG (jwt-bearer) token exchange is enabled.

jit_provisioning_enabled, boolean

Whether principals are provisioned just-in-time on first exchange. Defaults to true; set false to opt out.

Example request

{
  "issuer_url": "https://acme.okta.com/oauth2/default"
}

Response

A trusted IdP

AuthServerTrustedIdp required
id, string uuid required

The ID of the trusted IdP.

auth_server_id, string uuid required

The auth server this trusted IdP belongs to.

issuer_url, string uri required

The issuer URL of the trusted IdP. Unique per auth server.

display_name, string nullable

A human-friendly display name for the trusted IdP, distinct from its unique issuer_url.

jwks_uri, string uri

JWKS URI of the trusted IdP. Overrides OIDC discovery when set.

directory_id, string uuid required

The Kong Identity directory used for principal lookup and provisioning.

id_jag_enabled, boolean required

Whether ID-JAG (jwt-bearer) token exchange is enabled.

jit_provisioning_enabled, boolean required

Whether principals are provisioned just-in-time on first exchange.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "issuer_url": "https://acme.okta.com/oauth2/default",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    21 more changes in this revision