Auth Server Clients

Test a claim template for a client

Changed on

Test a claim template for a client. Utility function to test claim templates against a client and verify the resulting claim values.

post/v1/auth-servers/{authServerId}/clients/{clientId}/test-claim

Request

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

Path parameters

authServerIdstring uuid required
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a

The auth server ID

clientIdstring required

The OAuth 2.0 client ID

Example:kYa9iQFU5xPDSIUH9z1z

The OAuth 2.0 client ID. A client whose client_id is the URL of its Client ID Metadata Document is registered and managed by that document: it is not addressable through these endpoints, and any request that targets it is rejected.

Request body

object required

A map<string>string of the claims and templates

Example request

{
  "destination": "anywhere",
  "uuidv4": "${ uuidv4 }"
}

Response

Result of a claim test

TestClaimResult required

A map<string>any of the claim that have been templated

Changes