Auth Server Claims

Get an auth server claim

Changed on

Get a claim for given auth server.

get/v1/auth-servers/{authServerId}/claims/{claimId}

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

claimId, string uuid required
Example:07d05309-45cc-4b37-92fb-1524846deec3

The claim ID

Response

A claim

Claim required
id, string uuid required

The ID of the claim

name, string required

The name of the claim

value, string required

Specifies the value of the claim. It may contain a static value or a dynamic (templated) value. Static values which are valid JSON will result in a JSON object in the token claims.

include_in_token, boolean required

Specifies whether to include claim in the token. If the value is set to 'false' for a claim, the client instead uses the access token to get claims from the '/userinfo' endpoint.

include_in_all_scopes, boolean required

Specifies whether to include the claim in all scopes. If the value is set to 'false' for a claim, the claim is only included in the scopes that explicitly list it.

include_in_scopes, string[] required

Specifies the scopes IDs in which the claim is included

enabled, boolean required

Specifies whether the claim is enabled. If the claim is not enabled, it will not be included in the token or the '/userinfo' endpoint.

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

{
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • warning

      added the new 404.00 enum value to the status response property for the response status

    • breaking

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

    • info

      removed subschema #2 from the response body allOf list for the response status

    5 more changes in this revision