How to configure break-glass access for federated Okta users
97
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:02 PM
Objective
If Okta becomes unavailable due to an outage, Okta users may not be able to log into the Idira User Portal. This article will walk through the steps for configuring break-glass access if Okta becomes unavailable.
Environment
Identity Web Console
Procedure
Prerequisite:
- Must be licensed for CyberArk multi-factor authentication.
Okta Configurations:
- After you have set up Federation to Okta based on the instructions above, go back into your App in Okta that is federated to Identity. Click General, and then Edit under SAML Settings. Scroll down to Attribute Statements and make sure you’re passing at least UserPrincipalName, mobileNumber and emailAddress in the statements as per below. The UPN is needed for login and the mobileNumber and emailAddress will be used as factors for the Breakglass MFA.
- Scroll just a bit further down to Group Attribute Statements. Make sure you are sending your Okta group to CyberArk Identity that contains the users that need Breakglass capabilities. Those users will later be automatically switched to CyberArk MFA instead of Okta in the event Okta or AD is down. In this case, that Okta group is called “OktaUsers”, and it’s being sent to CyberArk Identity as an attribute. Make sure that the group OktaUsers (or whatever it is called in your Okta environment) is assigned to the App that you’re federating from Okta to CyberArk Identity so that all users in this group can log in to CyberArk Identity.
CyberArk Configurations
- In the CyberArk Admin Portal, go to Settings > Users > External Identity Providers, and select your Okta federation settings. Go to Group Mappings and map the OktaUsers group that was passed from Okta to Identity during the federated login to a group called ImportedFromOkta. This group will no contain all the users that came through via federation from Okta.
- Go to Authentication and set up Optional or Required mapping to existing directory user. Match the setting below. This way, Okta users will be stored in CyberArk Identity Cloud Directory as Cloud Directory Users, whether they are local users in Okta or are Active Directory users in Okta. For this use case, we are not going to use the CyberArk Identity Connector and direct AD integration to Identity, because that does not allow us to provide AD users the Breakglass MFA if AD is down. However, if we map the Okta AD users to Cloud Directory users as in this example, then both AD users and local Okta users gain the Breakglass MFA option. Click Save when you’re done.
- Go to Roles and click Add Role. Create a Role called FederatedFromOkta and under Members, add the ImportedFromOkta Group. We need to do this because at a later step we will be creating a Policy for FederatedFromOkta users and Policies can only be set by Role and not by Group.
- Go to Settings->Authentication->Authentication Profiles and click Add Profile. Match the settings and options in the screenshot below. We’re trying to make a 2-factor profile to perform Breakglass MFA using the known factors – for each user, those will be SMS to their phone number for factor 1 and an Email MFA for factor 2. This is just an example, and you can pick your own Breakglass MFA factors – but these are a good starting choice because they don’t require the user to preregister or configure anything in CyberArk Identity. If their user profile contains mobile number and email, these factors will work. Click Save.
- Go to Core Services -> Policies and Add Policy Set. Call it Federation Offline Breakglass. Assign the Policy to Specified Roles and add the Role called Federated From Okta. Click Save.
- Click Authentication Policies->Authentication and select the Federation Offline Breakglass Profile we created earlier to switch those users to SMS and Email for Breakglass MFA.
- Go back to Policies and Drag the Federation Offline Breakglass policy to the top so that it is above the Default Policy. Now the setup process is complete.
Testing
- Now, let’s verify that this works and show you how to turn on and off the Breakglass MFA. Let’s go to our CyberArk Identity login screen and log in as a user federated to Okta, in our case mike@oktausers.com
- If Federation to Okta has been correctly set up, then mike will get redirected to Okta for Authentication.
- Once mike logs in to Okta, he gets automatically logged in to CyberArk Identity where he sees the 3 Apps he has added:
- Now, let’s assume that Okta has gone offline, or the Active Directory tied to Okta has gone offline. Okta users cannot log in. We will turn on CyberArk Breakglass MFA. Let’s navigate to Settings->Users->External Identity Providers and then select Okta and head to Routing Rules. Here we see that the domain federated to Okta is oktausers.com (yours will be different).
- To turn on Breakglass MFA, we will delete this domain and replace it with another one, such as offoktausers.com. It doesn’t matter the name if it’s different and not used by another customer of CyberArk. Then click Save.
- Now, let’s try to login with mike@oktausers.com again. Now that the domain oktausers.com is no longer federated to Okta, any users in the Federated From Okta Role will go through the Breakglass MFA. Instead of being sent to Okta, the user must do SMS and then Email MFA to be able to log in. Okta is not involved anymore.
- The user is now logged in and sees the same 3 Apps as before proving that it is the same user.
- If Okta or AD go back online, the CyberArk Identity administrator can turn off Breakglass MFA and turn back on Okta by simply going to Users->External Identity Providers->Okta->Routing Rules. Then delete the offoktausers.com domain and re-add the oktausers.com domain. This restores the Federated login and turns off Breakglass. Please note that oktausers.com is a lab domain and replace with your own domain federated by Okta.