Skip to main content

interclient_allowed_apps

Creates, updates, deletes, gets or lists an interclient_allowed_apps resource.

Overview​

Nameinterclient_allowed_apps
TypeResource
Idokta.apps.interclient_allowed_apps

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
interclient_allowed_applicationstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_interclient_allowed_applicationsselectappId, subdomainLists all apps allowed by this app to request interclient SSO using the interclient token
create_interclient_trust_mappinginsertappId, subdomainCreates a mapping between the target app and an allowed app for interclient SSO using the interclient token
delete_interclient_trust_mappingdeleteappId, allowedAppId, subdomainDeletes the mapping between the target app and an allowed app

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
allowedAppIdstringApp ID of the allowed app instance to delete mapping from the target app. (example: 0oa1elyw9EAkUNUrW0g5)
appIdstringApplication ID
subdomainstring(default: my-org)

SELECT examples​

Lists all apps allowed by this app to request interclient SSO using the interclient token

SELECT
interclient_allowed_application
FROM okta.apps.interclient_allowed_apps
WHERE appId = '{{ appId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

INSERT examples​

Creates a mapping between the target app and an allowed app for interclient SSO using the interclient token

INSERT INTO okta.apps.interclient_allowed_apps (
id,
appId,
subdomain
)
SELECT
'{{ id }}',
'{{ appId }}',
'{{ subdomain }}'
RETURNING
id,
appInstanceId,
created,
lastUpdated,
lastUpdatedBy,
orgId,
trustedAppInstanceId
;

DELETE examples​

Deletes the mapping between the target app and an allowed app

DELETE FROM okta.apps.interclient_allowed_apps
WHERE appId = '{{ appId }}' --required
AND allowedAppId = '{{ allowedAppId }}' --required
AND subdomain = '{{ subdomain }}' --required
;