- Assign the offline mode state for an application
Assigns the offline mode state for a specific application in Access Gateway, by applicationId.
Use this endpoint to enable or disable the ability for applications to function in offline mode. When offline mode is enabled, and the Okta IdP is unreachable, the application can failover to offline mode and function with modified capabilities.
Indicates the offline mode state of the application
| Enum Value | Description |
|---|---|
| ACTIVE | Active offline mode means that Access Gateway uses the offline mode configuration to handle authentication and authorization when the IdP is unreachable. |
| INACTIVE | Inactive offline mode means that Access Gateway doesn't use the offline mode configuration to handle authentication and authorization when the IdP is unreachable. Access Gateway uses the online mode configuration instead. |
| TEST | Test offline mode means that Access Gateway simulates offline mode for an application while the IdP is still reachable. This allows you to test the offline mode configuration before activating it. |
- https://oag.domain.tldhttps://oag.domain.tld/api/v2/apps/{applicationId}/offline-mode
curl -i -X POST \
'https://oag.domain.tld/api/v2/apps/{applicationId}/offline-mode' \
-H 'Content-Type: application/json' \
-d '{
"state": "ACTIVE"
}'Application offline mode state updated successfully
Indicates the offline mode state of the application
| Enum Value | Description |
|---|---|
| ACTIVE | Active offline mode means that Access Gateway uses the offline mode configuration to handle authentication and authorization when the IdP is unreachable. |
| INACTIVE | Inactive offline mode means that Access Gateway doesn't use the offline mode configuration to handle authentication and authorization when the IdP is unreachable. Access Gateway uses the online mode configuration instead. |
| TEST | Test offline mode means that Access Gateway simulates offline mode for an application while the IdP is still reachable. This allows you to test the offline mode configuration before activating it. |
{ "state": "ACTIVE" }