The Application Connections API provides operations for configuring connections to an app.
Okta supports token-based and OAuth 2.0-based provisioning connections for supported apps. The following available provisioning connections are supported by the indicated apps:
Connection |
Description | Apps supported |
---|---|---|
Token | The provisioning API connection is based on bearer token authentication. |
|
OAuth 2.0 | The provisioning API connection is based on OAuth 2.0 authentication. |
|
Note: The Okta Org2Org (
okta_org2org
) app isn't available in Okta Developer Edition orgs. If you need to test this feature in your Developer Edition org, contact your Okta account team.
okta.apps.read
Retrieves the default Provisioning Connection for an app
Success
Forbidden
Not Found
Too Many Requests
{- "authScheme": "TOKEN",
- "status": "ENABLED",
- "profile": {
- "authScheme": "TOKEN"
}, - "_links": {
- "self": {
- "hints": {
- "allow": [
- "GET",
- "POST"
]
}
}, - "deactivate": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}
okta.apps.manage
Updates the default Provisioning Connection for an app
OK
Created
Bad Request
Forbidden
Not Found
Too Many Requests
{- "profile": {
- "authScheme": "TOKEN",
- "token": "00NgAPZqUVy8cX9ehNzzahEE5b-On9sImTcInvWp-x"
}
}
{- "authScheme": "TOKEN",
- "baseUrl": "string",
- "profile": {
- "authScheme": "OAUTH2"
}, - "status": "DISABLED",
- "_links": {
- "self": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "activate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "deactivate": {
- "hints": {
- "allow": [
- "DELETE"
]
}, - "href": "string",
- "name": "string",
- "templated": true,
- "type": "string"
}, - "authorize": {
- "hints": {
- "allow": [
- "DELETE"
], - "guidance": [
- "string"
]
}, - "href": "string"
}
}
}
okta.apps.manage
Activates the default Provisioning Connection for an app
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.apps.manage
Deactivates the default Provisioning Connection for an app
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.apps.manage
Verifies the OAuth 2.0-based connection as part of the OAuth 2.0 consent flow. The validation of the consent flow is the last step of the provisioning setup for an OAuth 2.0-based connection.
Currently, this operation only supports office365
,google
, zoomus
, and slack
apps.
No content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}