- Assign the failover mode for an IdP
Assigns 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.
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. |
- https://oag.domain.tldhttps://oag.domain.tld/api/v2/idps/{idpId}/offline-mode
curl -i -X POST \
'https://oag.domain.tld/api/v2/idps/{idpId}/offline-mode' \
-H 'Content-Type: application/json' \
-d '{
"mode": "AUTOMATIC"
}'Failover mode updated successfully for the IdP
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" }