OrgOAuthAppRequest

OrgOAuthAppRequest
OrgOAuthAppRequest

Organization OAuth App Creation Request

JSON Example
{
    "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"
        ]
    }
}
string
id
Optional

The client ID. If not set one will be generated.

string
secret
Optional

The client secret. If not set one will be generated.

string
displayName
Optional

Display name for the client.

string
description
Optional

Description for the client.

array of string
redirectUris
Optional

Redirect URIs for the client. Only the first one will be taken into account by the Identity Service.

array of string
grantTypes
Optional

Client grant types.

integer As int32 As int32
accessTokenTTL
Optional

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.

integer As int32 As int32
refreshTokenTTL
Optional

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.

integer As int32 As int32
maxGroupsInIdToken
Optional

For CSP compatibility, ignored by the Identity Service. Note that the value will be persisted and may become effective in the future releases.

allowedScopes
Optional

allowedScopes