Auth Server Clients
Create a new auth server client
Create 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 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"
}