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.
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.
- https://oag.domain.tldhttps://oag.domain.tld/api/v2/idps/{idpId}/offline-mode
curl -i -X GET \
'https://oag.domain.tld/api/v2/idps/{idpId}/offline-mode'Success
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 Value | Description |
|---|---|
| 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. |
{ "mode": "AUTOMATIC" }