Create Org Scoped O Auth Client
Creates an organization scoped OAuth2 client.
The organization ID.
{
"id": "string",
"secret": "string",
"displayName": "string",
"description": "string",
"redirectUris": [
"string"
],
"grantTypes": [
"string"
],
"accessTokenTTL": 0,
"refreshTokenTTL": 0,
"maxGroupsInIdToken": 0,
"allowedScopes": {
"allRoles": false,
"servicesScopes": [
{
"allRoles": false,
"roleNames": [
"string"
],
"roles": [
{
"name": "string",
"resource": "string"
}
],
"serviceDefinitionId": "string"
}
],
"organizationScopes": {
"allRoles": false,
"roleNames": [
"string"
],
"roles": [
{
"name": "string"
}
]
},
"generalScopes": [
"string"
]
}
}
The client ID. If not set one will be generated.
The client secret. If not set one will be generated.
Display name for the client.
Description for the client.
Redirect URIs for the client. Only the first one will be taken into account by the Identity Service.
Client grant types.
Time to live for the access token, generated for this client, in seconds. Defaults to 0 if not set, i.e. the token will be issued already expired.
Time to live for the refresh token, generated for this client, in seconds. Defaults to 0 if not set, i.e. the token will be issued already expired.
For CSP compatibility, ignored by the Identity Service. Note that the value will be persisted and may become effective in the future releases.
default response
{
"clientId": "string",
"clientSecret": "string"
}
The client ID.
The client secret.