Offline mode is a feature of Access Gateway that allows it to continue functioning with modified capabilities when the connection to the identity provider (IdP) is lost. This API allows you to manage the offline mode settings at the application level, which applies to all users and IdPs associated with the application.
Note: This API is available in a Limited Early Access program and may be updated or changed based on feedback. Be aware that the API may change.
Retrieves the offline mode state for a specific application in Access Gateway, by applicationId
- https://oag.domain.tldhttps://oag.domain.tld/api/v2/apps/{applicationId}/offline-mode
curl -i -X GET \
'https://oag.domain.tld/api/v2/apps/{applicationId}/offline-mode'Success
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" }