Skip to content

Application Offline Mode

The Application Offline Mode API allows you to manage the offline mode configuration of your applications.

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.

Retrieve the offline mode state for an application

Request

Early Access

Retrieves the offline mode state for a specific application in Access Gateway, by applicationId

Path
applicationIdstring, (uuid)required

Identifier of the application

curl -i -X GET \
  'https://oag.domain.tld/api/v2/apps/{applicationId}/offline-mode'

Responses

Success

Bodyapplication/json
statestringrequired

Indicates the offline mode state of the application

Enum ValueDescription
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.

Response
{ "state": "ACTIVE" }