Create a client of a setup using DCR
POST/v3/modules/:module/setups/:setupId/clients
Creates an OAuth client using the Dynamic Client Registration (DCR) standard protocol. Only client creation is supported; reads, updates and deletions must be done via the V2 API.
Request
Path Parameters
- application/json
Body
- Array [
- ]
- Array [
- Array [
- ]
- ]
metadata object[]
jwks object
keys object[]
keyStore object
provider object
algorithm object
Possible values: [REQUIRED, RECOMMENDED, OPTIONAL]
Possible values: [sign, verify, encrypt, decrypt, wrapKey, unwrapKey, deriveKey, deriveBits]
keyUse object
keyRevocation object
reason object
parsedX509CertChain object[]
subjectDN object
issuerDN object
issuerX500Principal object
subjectX500Principal object
publicKey object
requiredParams object
keyType object
Possible values: [REQUIRED, RECOMMENDED, OPTIONAL]
additionalMembers object
Possible values: [RS256, RS384, RS512, ES256, ES256K, ES384, ES512]
Possible values: [RSA1_5, RSA-OAEP, RSA-OAEP-256, RSA-OAEP-384, RSA-OAEP-512, ECDH-ES, ECDH-ES+A128KW, ECDH-ES+A192KW, ECDH-ES+A256KW, none]
Possible values: [A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM, none]
Responses
- 201
- 400
- 403
- 404
The client was registered successfully using DCR; the response contains the client's credentials and metadata
- application/json
- Schema
- Example (from schema)
Schema
{
"client_id": "string",
"client_secret": "string",
"client_id_issued_at": 0,
"client_secret_expires_at": "string"
}
The DCR request body contains invalid or missing client metadata fields
The caller does not have the required privileges to register clients in this setup
No setup exists with the specified ID