Skip to content

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" }