Create OpenID Connect App
Add a new OpenID Connect App
Before you begin
Go to your OpenID Connect Provider portal and do the following
- To obtain a client ID and a client secret, create a web authorization client and associate with specific web consoles
- For the redirect URLs, enter the URLs of your webconsoles appended with /openIdConnectCallback.do. Include the port number in the URL, for examples: http://client1.mydomain.com:80/webconsole/openIdConnectCallback.do.
- Make a note of the client ID and client secret.
- Obtain the discovery endpoint URL for the provider, for example: https://oidc-provider.com/.well-known/openid-configuration.
- Verify that the ID Tokens are signed using RS256 algorithm. To do this, navigate to the OpenID Connect discovery endpoint URL and see that 'RS256' is one of the values listed under [id_token_signing_alg_values_supported].
- application/json
Request Body
- opType integer
Default value:
1
opType 1=create, 2=delete and 3=update
clientThirdPartyApps object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"errorString": "string",
"errorCode": 0
}
}
POST /thirdparty/app
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ThirdParty/App' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"clientThirdPartyApps": [
{
"appType": 5,
"appName": "string",
"appDisplayName": "string",
"appDescription": "string",
"isEnabled": true,
"assocTree": [
{
"userName": "string",
"userGroupName": "string",
"providerDomainName": "string",
"providerId": 0
}
],
"props": {
"nameValues": [
{
"name": "clientId",
"value": "string",
"values": [
"string"
]
}
]
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ThirdParty/App' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"clientThirdPartyApps": [
{
"appType": 5,
"appName": "string",
"appDisplayName": "string",
"appDescription": "string",
"isEnabled": true,
"assocTree": [
{
"userName": "string",
"userGroupName": "string",
"providerDomainName": "string",
"providerId": 0
}
],
"props": {
"nameValues": [
{
"name": "clientId",
"value": "string",
"values": [
"string"
]
}
]
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ThirdParty/App' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"clientThirdPartyApps": [
{
"appType": 5,
"appName": "string",
"appDisplayName": "string",
"appDescription": "string",
"isEnabled": true,
"assocTree": [
{
"userName": "string",
"userGroupName": "string",
"providerDomainName": "string",
"providerId": 0
}
],
"props": {
"nameValues": [
{
"name": "clientId",
"value": "string",
"values": [
"string"
]
}
]
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ThirdParty/App' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"clientThirdPartyApps": [
{
"appType": 5,
"appName": "string",
"appDisplayName": "string",
"appDescription": "string",
"isEnabled": true,
"assocTree": [
{
"userName": "string",
"userGroupName": "string",
"providerDomainName": "string",
"providerId": 0
}
],
"props": {
"nameValues": [
{
"name": "clientId",
"value": "string",
"values": [
"string"
]
}
]
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ThirdParty/App' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"clientThirdPartyApps": [
{
"appType": 5,
"appName": "string",
"appDisplayName": "string",
"appDescription": "string",
"isEnabled": true,
"assocTree": [
{
"userName": "string",
"userGroupName": "string",
"providerDomainName": "string",
"providerId": 0
}
],
"props": {
"nameValues": [
{
"name": "clientId",
"value": "string",
"values": [
"string"
]
}
]
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ThirdParty/App' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"clientThirdPartyApps": [
{
"appType": 5,
"appName": "string",
"appDisplayName": "string",
"appDescription": "string",
"isEnabled": true,
"assocTree": [
{
"userName": "string",
"userGroupName": "string",
"providerDomainName": "string",
"providerId": 0
}
],
"props": {
"nameValues": [
{
"name": "clientId",
"value": "string",
"values": [
"string"
]
}
]
}
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/ThirdParty/App' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"opType": 1,
"clientThirdPartyApps": [
{
"appType": 5,
"appName": "string",
"appDisplayName": "string",
"appDescription": "string",
"isEnabled": true,
"assocTree": [
{
"userName": "string",
"userGroupName": "string",
"providerDomainName": "string",
"providerId": 0
}
],
"props": {
"nameValues": [
{
"name": "clientId",
"value": "string",
"values": [
"string"
]
}
]
}
}
]
}'