Auth Server Clients
Create a new auth server client
Changed onCreate a new client for a given auth server. The client ID and secret will be generated automatically. The name attribute must be unique within the auth server. The grant_types and response_types attributes define the OAuth 2.0 and OpenID Connect capabilities of the client.
post/v1/auth-servers/{authServerId}/clients
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v1/auth-servers/{authServerId}/clients
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"labels": {
"env": "test"
},
"id": "kYa9iQFU5xPDSIUH9z1z"
}Response
A client with a secret
Example response
{
"id": "kYa9iQFU5xPDSIUH9z1z",
"labels": {
"env": "test"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"client_secret": "YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae"
}Changes
- warning
added the new
private_key_jwtenum value to the////response property for the response status - warning
added the new
urn:ietf:params:oauth:grant-type:jwt-bearerenum value to the/////response property for the response status - info
added the new
private_key_jwtenum value to the request property - info
added the new
urn:ietf:params:oauth:grant-type:jwt-bearerenum value to the request property/
- warning
- breaking
the response property
/became optional for the status
- breaking