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 URLhttps://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
Request body
Example request
{
"labels": {
"env": "test"
}
}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
- info
endpoint added
- info