- Replace an application
- okta.apps.manage
Replaces properties for an application
Notes:
- All required properties must be specified in the request body
- You can't modify system-assigned properties, such as
id,name,status,created, andlastUpdated. The values for these properties in the PUT request body are ignored.
ORG_DEFAULT uses the org's configured pipeline (Identity Engine on an OIE org, Classic Engine on a Classic org). CLASSIC pins the app to the Classic auth pipeline regardless of the org's engine.
The field is optional. When omitted, the app behaves as ORG_DEFAULT. Existing apps that predate this field are treated as ORG_DEFAULT implicitly.
Note: On Identity Engine orgs, to encourage Identity Engine pipeline adoption, setting
CLASSICwhen creating a new app isn't allowed. SettingCLASSICon an existing app is allowed.
| Enum Value | Description |
|---|---|
| CLASSIC | The app operates in the Classic auth pipeline. |
| ORG_DEFAULT | The app operates in the org's default pipeline (Identity Engine on OIE orgs, Classic on Classic orgs). |
Contains any valid JSON schema for specifying properties that can be referenced from a request (only available to OAuth 2.0 client apps). For example, add an app manager contact email address or define an allowlist of groups that you can then reference using the Okta Expression Language getFilteredGroups function.
Notes:
profileisn't encrypted, so don't store sensitive data in it.profiledoesn't limit the level of nesting in the JSON schema you created, but there is a practical size limit. Okta recommends a JSON schema size of 1 MB or less for best performance.
Authentication mode for the app
| signOnMode | Description |
|---|---|
| AUTO_LOGIN | Secure Web Authentication (SWA) |
| BASIC_AUTH | HTTP Basic Authentication with Okta Browser Plugin |
| BOOKMARK | Just a bookmark (no-authentication) |
| BROWSER_PLUGIN | Secure Web Authentication (SWA) with Okta Browser Plugin |
| OPENID_CONNECT | Federated Authentication with OpenID Connect (OIDC) |
| SAML_1_1 | Federated Authentication with SAML 1.1 WebSSO (not supported for custom apps) |
| SAML_2_0 | Federated Authentication with SAML 2.0 WebSSO |
| SECURE_PASSWORD_STORE | Secure Web Authentication (SWA) with POST (plugin not required) |
| WS_FEDERATION | Federated Authentication with WS-Federation Passive Requestor Profile |
Select the signOnMode for your custom app:
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/apps/{appId}
curl -i -X PUT \
https://subdomain.okta.com/api/v1/apps/0oafxqCAJWWGELFTYASJ \
-H 'Content-Type: application/json' \
-d '{
"name": "bookmark",
"label": "Sample Bookmark App updated",
"signOnMode": "BOOKMARK",
"settings": {
"app": {
"requestIntegration": true,
"url": "https://example.com/bookmark.html"
}
}
}'Success
ORG_DEFAULT uses the org's configured pipeline (Identity Engine on an OIE org, Classic Engine on a Classic org). CLASSIC pins the app to the Classic auth pipeline regardless of the org's engine.
The field is optional. When omitted, the app behaves as ORG_DEFAULT. Existing apps that predate this field are treated as ORG_DEFAULT implicitly.
Note: On Identity Engine orgs, to encourage Identity Engine pipeline adoption, setting
CLASSICwhen creating a new app isn't allowed. SettingCLASSICon an existing app is allowed.
| Enum Value | Description |
|---|---|
| CLASSIC | The app operates in the Classic auth pipeline. |
| ORG_DEFAULT | The app operates in the org's default pipeline (Identity Engine on OIE orgs, Classic on Classic orgs). |
Enabled app features
Note: See Application Features for app provisioning features.
| Items Enum Value | Description |
|---|---|
| GROUP_PUSH | Creates or links a group in the app when a mapping is defined for a group in Okta. Okta is the source for group memberships and all group members in Okta who are also assigned to the app are synced as group members to the app. |
| IMPORT_NEW_USERS | Creates or links a user in Okta to a user from the app |
| IMPORT_PROFILE_UPDATES | Updates a linked user's app profile during manual or scheduled imports |
| IMPORT_USER_SCHEMA | Discovers the profile schema for a user from the app automatically |
| PROFILE_MASTERING | Designates the app as the identity lifecycle and profile attribute authority for linked users. The user's profile in Okta is read-only. |
| PUSH_NEW_USERS | Creates or links a user account in the app when assigning the app to a user in Okta |
| PUSH_PASSWORD_UPDATES | Updates the user's app password when their password changes in Okta |
| PUSH_PROFILE_UPDATES | Updates a user's profile in the app when the user's profile changes in Okta (the profile source) |
| PUSH_USER_DEACTIVATION | Deactivates a user's account in the app when unassigned from the app in Okta or deactivated |
| REACTIVATE_USERS | Reactivates an existing inactive user when provisioning a user to the app |
| OUTBOUND_DEL_AUTH | Okta user authentication requests are delegated to a third-party app |
| DESKTOP_SSO | Okta user authentication requests are handled by desktop SSO negotiation (if possible) |
| FEDERATED_PROFILE | App user profiles are synchronized at sign-in and profile-view instances instead of during bulk imports |
| SUPPRESS_ACTIVATION_EMAIL | Activation emails aren't sent to users sourced by AD and orgs with DelAuth enabled |
| PUSH_PENDING_USERS | Users are in PENDING state in Okta and are created but not active in the sourced app user |
| MFA | App can verify credentials as a second factor |
| UPDATE_EXISTING_USERNAME | App can update the user name for existing users |
| EXCLUDE_USERNAME_UPDATE_ON_PROFILE_PUSH | Exclude username update during profile push |
| EXCHANGE_ACTIVE_SYNC | App supports synchronizing credentials with OMM enrolled devices |
| IMPORT_SYNC | Synchronize import events |
| IMPORT_SYNC_CONTACTS | Synchronize contacts |
| DEVICE_COMPLIANCE | Apps support device compliance rules |
| VPN_CONFIG | App supports pushing VPN configuration to OMM enrolled devices |
| IMPORT_SCHEMA_ENUM_VALUES | App supports downloading schema enum values. You can download custom objects and integrating them with UD without being tied to the type metadata system. |
| SCIM_PROVISIONING | App supports generic SCIM client provisioning and can leverage SCIM standard for provisioning and push custom attributes to a third-party app |
| DEVICE_FILTER_IN_SIGN_ON_RULES | App supports filtering by client type in app sign-on rules |
| PROFILE_TEMPLATE_UPGRADE | App supports profile template upgrades. This is primarily to help roll out the profile template upgrade feature for individual apps |
| DEFAULT_PUSH_STATUS_TO_PUSH | App defaults Push status to |
| REAL_TIME_SYNC | Apps support real-time synchronization |
| SSO | Apps support establishing a subject based on claims from an IdP |
| AUTHN_CONTEXT | Apps support establishing an authentication context based on claims from an IdP |
| JIT_PROVISIONING | Apps support provisioning a user based on claims from an IdP |
| GROUP_SYNC | Apps support syncing group information based on claims from an IdP |
| OPP_SCIM_INCREMENTAL_IMPORTS | Apps support incremental imports. Used for SCIM app instances |
| IN_MEMORY_APP_USER | Apps support in-memory app users. This feature is used as an alternative to Implicit App Assignment for a non-persisted app user. |
| LOG_STREAMING | Apps support log streaming |
| OAUTH_INTEGRATION | App is an OAuth 2.0 integration |
| IDP | Apps support IdP functionalities |
| PUSH_NEW_USERS_WITHOUT_PASSWORD | Don't send generated password for new users |
| SKYHOOK_SERVICE | Use the Skyhook microservice for LCM operations |
| ENTITLEMENT_MANAGEMENT | Marker to showcase which OIN apps are entitlement enabled |
| PUSH_NEW_USERS_WITH_HASHED_PASSWORD | Send hashed password for new users. This feature is only used for CIS to CIC migration. |
Contains any valid JSON schema for specifying properties that can be referenced from a request (only available to OAuth 2.0 client apps). For example, add an app manager contact email address or define an allowlist of groups that you can then reference using the Okta Expression Language getFilteredGroups function.
Notes:
profileisn't encrypted, so don't store sensitive data in it.profiledoesn't limit the level of nesting in the JSON schema you created, but there is a practical size limit. Okta recommends a JSON schema size of 1 MB or less for best performance.
Authentication mode for the app
| signOnMode | Description |
|---|---|
| AUTO_LOGIN | Secure Web Authentication (SWA) |
| BASIC_AUTH | HTTP Basic Authentication with Okta Browser Plugin |
| BOOKMARK | Just a bookmark (no-authentication) |
| BROWSER_PLUGIN | Secure Web Authentication (SWA) with Okta Browser Plugin |
| OPENID_CONNECT | Federated Authentication with OpenID Connect (OIDC) |
| SAML_1_1 | Federated Authentication with SAML 1.1 WebSSO (not supported for custom apps) |
| SAML_2_0 | Federated Authentication with SAML 2.0 WebSSO |
| SECURE_PASSWORD_STORE | Secure Web Authentication (SWA) with POST (plugin not required) |
| WS_FEDERATION | Federated Authentication with WS-Federation Passive Requestor Profile |
Select the signOnMode for your custom app:
App instance status
Embedded resources related to the app using the JSON Hypertext Application Language specification. If the expand=user/{userId} query parameter is specified, then the assigned Application User is embedded.
A unique key is generated for the custom SWA app instance when you use AUTO_LOGIN signOnMode.
{ "id": "0oafxqCAJWWGELFTYASJ", "status": "ACTIVE", "lastUpdated": "2023-01-21T14:11:24.000Z", "created": "2023-01-21T14:11:24.000Z", "accessibility": { "selfService": false, "errorRedirectUrl": null, "loginRedirectUrl": null }, "_links": { "uploadLogo": { … }, "appLinks": [ … ], "groups": { … }, "logo": [ … ], "users": { … }, "deactivate": { … } }, "visibility": { "autoLaunch": false, "autoSubmitToolbar": false, "hide": { … }, "appLinks": { … } }, "name": "bookmark", "orn": "orn:okta:idp:00o1n8sbwArJ7OQRw406:apps:bookmark:0oafxqCAJWWGELFTYASJ", "label": "Sample Bookmark App updated", "features": [], "signOnMode": "BOOKMARK", "credentials": { "userNameTemplate": { … }, "signing": {} }, "settings": { "app": { … }, "notifications": { … }, "manualProvisioning": false, "implicitAssignment": false, "notes": { … }, "emOptInStatus": "DISABLED" } }