Skip to content

Identity Providers Offline Mode

The Identity Providers Offline Mode API allows you to manage the offline mode configuration for the identity providers (IdPs) on your Access Gateway instance.

Offline mode is a feature of Access Gateway that allows it to continue functioning with modified capabilities when the connection to the IdP is lost. This API allows you to manage the offline mode settings for each IdP, which determine how Access Gateway handles authentication requests when an IdP is unavailable.

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 failover mode for an IdP

Request

Early Access

Retrieves the failover mode for the specified identity provider (IdP) by idpId.

The failover mode determines how Access Gateway handles authentication requests when the selected IdP is unavailable.

Path
idpIdstring, (uuid)required

Identifier of the IdP

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

Responses

Success

Bodyapplication/json
modestringrequired

Indicates the failover mode of the IdP when the IdP is unreachable or disconnected from Access Gateway (offline mode).

The failover mode is the behavior of the IdP when Access Gateway can't connect to Okta. Access Gateway can automatically detect when the IdP is unreachable and can then switch to offline mode to maintain functionality.

Enum ValueDescription
AUTOMATIC

In automatic failover mode, when the IdP is unreachable, Access Gateway automatically switches to offline mode.

DISABLED

In disabled failover mode, Access Gateway doesn't switch to offline mode when the IdP is unreachable.

Response
{ "mode": "AUTOMATIC" }