Create client
POST/v2/modules/:module/setups/:setupId/clients
Creates a new OAuth client within the specified setup. The request body must include all required client metadata such as redirect URIs and supported grant types. A validFrom date can be supplied to schedule the initial configuration to become active at a future point in time. On success, returns the new client's internal nevisMeta identifier (not the OAuth2 client_id).
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
The client was created successfully; the response contains the new client's internal nevisMeta ID (not the OAuth client_id)
- application/json
- Schema
- Example (from schema)
Schema
{
"clientId": "string"
}
The request body contains invalid or missing client properties