ClientDto
idnumber
Example:
1namestringrequired
Example:
Example ClientsecretNamestringrequired
Example:
SecretExampledescriptionstringrequired
Example:
A sample client used for demonstration purposes.clientIdstringrequired
Example:
client-id-123clientSecretstring
Client secret for symmetric authentication. Required when tokenEndpointAuthMethod is client_secret_post.
Example:
client-secret-abctokenEndpointAuthMethodstring
Authentication method used at the token endpoint. Defaults to client_secret_post.
Possible values: [client_secret_post, private_key_jwt, none]
Example:
client_secret_postjwkobject
Public key in JWK format for asymmetric authentication. Required when tokenEndpointAuthMethod is private_key_jwt.
Example:
{"kty":"RSA","n":"0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw","e":"AQAB","kid":"client-key-1"}rolesstring[]required
Example:
["admin","user"]grantsstring[]required
Example:
["authorization_code","client_credentials"]redirectUrisstring[]required
Example:
["https://example.com/callback"]ClientDto
{
"id": 1,
"name": "Example Client",
"secretName": "SecretExample",
"description": "A sample client used for demonstration purposes.",
"clientId": "client-id-123",
"clientSecret": "client-secret-abc",
"tokenEndpointAuthMethod": "client_secret_post",
"jwk": {
"kty": "RSA",
"n": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw",
"e": "AQAB",
"kid": "client-key-1"
},
"roles": [
"admin",
"user"
],
"grants": [
"authorization_code",
"client_credentials"
],
"redirectUris": [
"https://example.com/callback"
]
}