Single Sign-On (SSO) with SAML
- SAML SSO with Harness Overview
- SAML SSO with Okta
Harness supports Single Sign-On (SSO) with SAML, integrating with your SAML SSO provider to enable you to log your users into Harness as part of your SSO infrastructure.
This document explains how to set up SAML authentication and authorization, in the following sections:
- SAML SSO with Harness Overview
- SAML SSO with Okta
- SAML SSO with Azure
- SAML SSO with Azure Active Directory
- SAML SSO with Google G Suite
- SAML SSO with OneLogin
SAML SSO with Harness Overview
To set up SAML SSO with Harness, you add a SAML SSO provider to your Harness account, and enable it as the default authentication method.
Harness SAML SSO involves the following:
- Harness User email addresses - Users are invited to Harness using their email addresses. Once they log into Harness, their email addresses are registered with Harness as Harness Users. To use SAML SSO, Harness Users must use the same email addresses to register in Harness and the SAML provider.
- SAML provider user email addresses - To use the SAML provider to verify Harness Users, the email addresses used in the SAML provider must match the email addresses for the registered Harness Users you want to verify.
- Harness SAML Endpoint URL - This URL is where the SAML provider will post the SAML authentication response to your Harness account. This URL is provided by Harness in the Single Sign-On (SSO) Provider dialog. You enter this URL in your SAML SSO provider app to integrate it with Harness.
- SAML metadata file - This file is provided by your SAML provider app. You upload this file into the Harness Single Sign-On (SSO) Provider dialog to integrate the app with Harness.
Using Okta as an example, here are the Harness Manager settings on the left and their corresponding SAML provider settings on the right:
SAML SSO with Okta
To set up Harness with Okta as a SAML SSO provider, you exchange the necessary information between your Okta app and Harness.
The section describes the Okta-specific steps you must perform to use an Okta app for Harness SAML SSO:
- Okta User Accounts
- SAML Endpoint URL for Okta
- Okta SAML Metadata File
- Enable and Test Okta SSO
- SAML Authorization with Okta
Okta User Accounts
To set up an SAML support in your Okta app, ensure that the app has corresponding Users in Harness:
- In Harness, add the users you want to set up for SAML SSO by inviting them to Harness using the same email addresses that they use in your SAML provider.
- Using your Harness Users email addresses, add the Harness Users to the SAML provider account and assign them to your SAML provider app. Here is an example of two Harness Users added to an Okta app using the same email addresses.
Sometimes users might have mixed case email addresses in Okta. In these situations, Harness converts the email address to lowercase when adding them to Harness.
Endpoint URL for Okta
Enter the Harness SAML Endpoint URL as your Okta app's Single sign-on URL. You will first copy the URL out of Harness Manager, and then enter it into your Okta app.
Copy the Harness SAML Endpoint URL
- In Harness Manager, click Continuous Security, and then click Access Management.
- From the resulting Access Management page, click Authentication Settings.
- From the Authentication Settings page, click Add SSO Providers, then click SAML.
- If prompted, disable the Allow login via public OAuth providers slider.Then again select Add SSO Providers > SAML. The Add SAML Provider dialog appears.
- Copy the URL from the dialog. (Note the Copy button to the right of the URL.) You will provide this Harness SAML Endpoint URL to your SAML provider app in the next step. This URL is where the SAML provider will post the SAML response after authentication.
Add the Harness SAML Endpoint URL to Your SAML Provider App
- In your SAML provider app's Single sign-on URL field (or similar name), paste the Harness SAML Endpoint URL you copied. For example, here is where you enter the Harness SSO URL in Okta when you are creating an app (Classic UI view only):
- In your SAML provider app's Audience URI field (or similar name), enter
app.harness.io. The SAML application identifier should be always
Okta SAML Metadata File
You must download the Identity Provider metadata XML from your Okta app and upload the file into Harness.
- Download the SAML metadata file from your Okta provider app.
For example, here is what the SAML metadata file section looks like in an Okta application's Sign On tab (only available in Classic UI view):
- In Harness' Add SAML Provider dialog, under Upload a new SAML Metadata File, click Choose File and add the SAML metadata file you downloaded.
- In Display Name, enter a name for your SAML SSO provider, and click SUBMIT. The new SSO provider is displayed.
Enable and Test SSO with Okta
Now that Okta is set up in Harness as a SAML SSO provider, you can enable and test it.
- To enable the SSO provider, drag the slider under Authentication Enabled?
- In the resulting Enable SSO Provider dialog, click TEST to verify the SAML connection you've configured.A new browser tab will prompt you to log into your SAML provider.
- Upon a successful test, Harness will display the SAML test successful banner below.When you see this banner, it is safe to click CONFIRM to enable SAML SSO in Harness.If you become locked out of Harness because of an SSO issue, you must contact Harness to have the SSO Provider disabled.
- Test the SSO Provider as a Harness User.
To fully test SSO, you will log into Harness using another User account. You should use a Chrome Incognito window to test SSO so that you can disable SSO back in your Harness Administrator account if there are any errors.
- Open an Incognito window in Chrome.
- Log into Harness using a Harness User account that has a corresponding user account email address in the SAML SSO provider. You will be redirected to your SAML SSO provider's login page.
- Log into your SSO Provider using an email address for a Harness User. The password does not have to be the same.
You are automatically returned to the Harness Manager, and logged into the dashboard using your SSO credentials.
SAML Authorization with Okta
Once you have enabled Harness SSO with your Okta app, you can set up and enable SAML authorization in Harness using Okta.
To set up SAML authorization in Harness, you link a Harness User Group to a user group in Okta. When a user from Okta logs into Harness, they are automatically added to the linked Harness User Group, and inherit all the RBAC settings for that User Group.
There are two Okta components you need to set up SAML authorization in Harness:
- Group Name - The name of the Okta group containing the users you want to authorize in Harness. The email addresses registered in this group must be the same as the email addresses these users have registered in Harness.
- Group Attribute Name - The Group Attribute Name associated with the Okta app you use for authentication. The Group Attribute Name is different from the Okta group name. Your company might have many groups set up in Okta. The Group Attribute Name is used to filter groups.
In Harness, you will enter the Group Attribute Name in the SAML SSO provider settings, and then you will enter the group name in the Harness User Group to link it to the Okta group.
Here are the Harness Manager settings on the left and their corresponding Okta settings on the right:
To set up SAML Authorization with Okta, do the following:
- Set up SAML SSO in Harness as described in SAML SSO with Okta.
You will be authorizing the same Harness Users that are authenticated using your SAML provider, so ensure that the email addresses registered in Harness are the same email addresses registered in your SAML provider.
- Add a user group to your SAML provider, and then add users to the group. The group name will be used to link the Harness User Group later.
In Okta, here is a user group named QA with two members:Both members are already registered in Harness using the same email addresses in both Harness and the SAML provider.
- Ensure that the SAML provider group is assigned to the same SAML provider app you use for Harness SAML SSO. Here is the same SAML provider group assigned to an app in Okta:
- Configure the Group Attribute Name in your SAML app. You will use the Group Attribute Name later in Harness when you enable SAML authorization.
Here are the steps for adding a Group Attribute Name in Okta:
- In Okta, click Applications, and then click the name of the app you use for Harness SAML SSO to open its settings.
- In the app, click the General tab.
- For SAML Settings, click Edit.
- In General Settings, click Next.
- In GROUP ATTRIBUTE STATEMENTS (OPTIONAL), in Name, enter the Group Attribute Name you want to use, such as dept.
- In Filter, select Matches regex and enter period asterisk (.*) in the field. When you are done, it will something like this:
- Click Next.
- Click Finish.
- Enable Authorization in Harness. Now that you have assigned a group to your SAML app and added a Group Attribute Name, you can enable authorization in Harness.
- In Harness, select Continuous Security > Access Management > Authentication Settings.
- Click SSO Providers.
- In SSO Providers, click the vertical ellipsis (︙) next to the SSO Provider you have set up for SSO authentication, and click Edit.
(Remember, we are simply adding authorization to a SAML SSO provider that is already configured for authentication and enabled, as described in To Set Up SAML SSO.)
- In the Edit SAML Provider dialog, enable Enable Authorization.
- In Group Attribute Name, enter the Group Attribute Name you earlier added to your SAML app in your SAML provider.
- Click SUBMIT. The SAML SSO Provider is now set up to use the Group Attribute Name for authorization.
- Link the SAML SSO Provider to the Harness User Group. We will create a new Harness User Group, but you can use an existing Group so long as your Harness User account is a member and that User account is registered using the same email address you used to register with your SAML provider.
- Click the Access Management breadcrumb.
- Click User Groups.
- Click Add User Group.
- In Add User Group, enter a name for the User Group and click SUBMIT. In this example, we use the name QA.
- In the new User Group, click Member Users.
- In Add Members, add your own User account as a member. Also, ensure your Harness account is registered using the same email address you used to register with your SAML provider.
Do not add any other Harness Users at this point. When the other users log into Harness using the same email address as they use in the SAML provider, Harness will verify their email addresses with the SAML provider and add them to this linked Harness User Group automatically.
- Click SUBMIT.
- In the User Group page, in Member Users, click Link to SSO Provider Group.
- In the Link to SSO Provider Group dialog, in SSO Provider, select the SAML SSO Provider you have set up.
- In Group Name, enter the name of the group you assigned to your app in your SAML provider. When you are done, it will look something like this:
- Click SUBMIT.
- Test the SAML Authorization using another user account. We will test the SAML authorization using an email address for a user in Harness and the SAML provider.
Do not log out of Harness. Use a different Harness User account in a Chrome Incognito window to ensure that you can disable SSO if needed.
- In Chrome, open an Incognito window, and navigate to Harness.
- Log into Harness using the email address of a Harness User that is also used in the SAML provider group linked to the Harness User Group.
When the user submits their email address in Harness Manager, the user is redirected to the SAML provider to log in. For example, here is the Okta prompt:
- Log into the SAML provider using the same email that the user is registered with in Harness.
Once the user logs in, the user is redirected to Harness and logged into Harness using the SAML credentials.
- In your Harness account in the other browser window, check the User Group you linked with your SAML provider. The user that logged in is now added to the User Group, receiving the authorization associated with that User Group.
You can link multiple Harness User Groups with the SAML SSO Provider you set up in Harness.
You can also remove a link between a Harness User Group and a Harness SAML SSO Provider without losing the User Group members. In the Harness User Group, simply click Delink Group:
The Delink External SSO Provider Group dialog appears.
Click Retain all members in the user group and click Confirm. The link to the SAML SSO Provider is removed and the Users are still members of the User Group.
SAML SSO with Azure
The section describes the Azure-specific steps you must perform to use an Azure app for Harness SAML SSO:
- Azure User Accounts
- Endpoint URL for Azure
- User Attributes Claims
- Azure SAML Metadata File
- Enable and Test SSO with Azure
- SAML Authorization with Azure
The following image shows the basic exchange of information between Harness and your Azure app's Single sign-on settings:
Azure User Accounts
The Harness User accounts and their corresponding Azure user accounts must have the same email addresses.
- Ensure that you have at least two corresponding user accounts in both Harness and your Azure app when setting up and testing SAML SSO. This allows you to set up the account with a Harness Administrator account and test it with a Harness user account.
The following image shows a Harness User Group containing two users and their corresponding accounts in the Azure app that will be used for SAML SSO. As you can see, the email addresses are the same.
Endpoint URL for Azure
You must enter the Harness SAML Endpoint URL from Harness in your Azure app Reply URL:
- In your Azure app, click Single sign-on. The SSO settings for the Azure app are displayed.
- In Basic SAML Configuration, click the edit icon (pencil).
- Enter app.harness.io in the Identifier (Entity ID) field.Next, you will use the SAML SSO Provider settings in Harness to set up your Azure app Single sign-on.
- In Harness, click Continuous Security, and then click Access Management.
- Click SSO Providers, and then click Add SSO Provider and choose SAML. The Add SAML Provider dialog appears.
- In Display Name, enter a name for the SAML SSO Provider, such as Azure.
- Copy the Harness SAML Endpoint URL from the Add SAML Provider dialog, and paste it in the Reply URL in your Azure app.
- Click Save. The Basic SAML Configuration now looks like this:
User Attributes & Claims
Next, you need to ensure that Harness Users email addresses will identify them when they log in via Azure. To do this, you set up the Single sign-on section of your Azure app to use the User name email address as the method to identify users.
The Azure users that are added to your Azure app must have their email addresses listed as their User name, for example:
To set this User name email address as the method for identifying users, in the Azure app Single sign-on section, the Azure app must use the user.userprincipalname as the Unique User Identifier, and user.userprincipalname must use Email address as the name identifier format.
To set this up in your Azure app, do the following:
- In your Azure app, in the Single sign-on blade, in User Attributes & Claims, click the edit icon (pencil). The User Attributes & Claims settings appear.
- For Name identifier value, click the edit icon. The Manage user claims settings appear.
- Click Choose name identifier format, and select Email address.
- In Source attribute, select user.userprincipalname.
- Click Save, and then close User Attributes & Claims. When you are finished, the User Attributes & Claims section of Single sign-on will look like this:
Azure SAML Metadata File
You must download the Federation Metadata XML from your Azure app and upload the file into Harness.
- Download the Federation Metadata XML from your Azure app and upload it using Upload a new SAML Metadata File in the Add SAML Provider dialog in Harness.
- In Harness' Add SAML Provider dialog, click SUBMIT. The new Azure SAML Provider is added.
Enable and Test SSO with Azure
Now that Azure is set up in Harness as a SAML SSO provider, you can enable and test it.
You can test the Azure app SSO from within Azure if you are logged into Azure using a Azure user account that has the following:
- A corresponding Harness User account with the same email address.
- The Azure user account is in the Azure app Users and groups settings.
- The Azure user account has the Global Administrator Directory role in Azure.
To test Azure SSO using Azure, do the following:
- In the Azure app, click Single sign-on, and then at the bottom of the Single sign-on settings, click Test.
- In the Test panel, click Sign in as current user. If the settings are correct, you are logged into Harness. If you cannot log into Harness, the Test panel will provide debugging information. See also Debug SAML-based single sign-on to applications in Azure Active Directory from Azure.
To test Azure SSO using Harness, do the following:
- In Harness, in SSO Providers, click the Enabled checkbox to enable SAML SSO using the Azure provider.
- Open a new Chrome Incognito window to test the SSO login using a Harness User account other than the one you are currently logged in with.
- Using one of the user account email addresses that is shared by Harness and Azure, log into Harness. When you log into Harness, you are prompted with the Microsoft Sign in dialog.
- Enter the Azure user name for the user (most often, the email address), enter the Azure password, and click Sign in.
SAML Authorization with Azure
Once you have enabled Harness SSO with your Azure app, you can set up and enable SAML authorization in Harness using Azure.
To set up SAML authorization in Harness, you link a Harness User Group to a user group assigned to your Azure app. When a user from your Azure app logs into Harness, they are automatically added to the linked Harness User Group, and inherit all the RBAC settings for that Harness User Group.
There are two Harness SAML settings you need from Azure to set up SAML authorization in Harness:
- Group Attribute Name - In Azure, this value is obtained from the Group Claims in the Azure app User Attributes & Claims settings.
- Group Name - The Object ID of the Azure group containing the Azure users you want to authorize in Harness. The email addresses registered in this Azure group must be the same as the email addresses these users have registered in Harness.
For Harness Group Attribute Name, here is the Harness SAML Provider setting on the left and their corresponding Azure Group Claims settings on the right:
For Harness Group Name, here is the Harness User Group link setting on the left and the Azure group Object ID on the right.
To set up Azure Authorization in Harness, do the following:
- In Azure, add the Group Claim (Name and Namespace) to the Azure app.
- In your Azure app, click Single sign-on, and then in User Attributes & Claims, click edit (pencil icon).
- In User Attributes & Claims, edit the Groups returned in claim. The Group Claims settings appear.
- Click the All groups option and then enable Customize the name of the group claim.
- In Name, enter a name to use to identify the Harness Group Attribute Name.
- In Namespace, enter a namespace name. When you are done, Group Claims will look something like this:
- Click Save. User Attributes & Groups now displays the group claim you created.
- Close User Attributes & Groups.
- In Harness, enter the Group Claim name and namespace in the SAML SSO Provider Group Attribute Name field.
- Open the SAML SSO Provider dialog, and enable the Enable Authorization setting. You need to enable Enable Authorization in order to select this SSO Provider when you link a Harness User Group for authorization.
- Enter the Group Claim name and namespace in the Group Attribute Name field in the same format as a Claim Name (
namespace/name). The SAML SSO Provider dialog will look something like this:
- Click SUBMIT. Authorization and the Group Attribute Name are set up. Next, you need to set up your Azure and Harness groups.
- In Azure, ensure the Azure users with corresponding Harness accounts belong to an Azure group. Here is an Azure group named Example with two members:
- Ensure that the Azure group is assigned to the Azure app. Here you can see the Example group in the Azure app's Users and groups:
- Link the Harness User Group to the Azure group using the Azure group Object ID.
- In Azure, copy the Azure group Object ID.
- In Harness, create a new User Group or open an existing User Group.
- In the Member Users section, click Link to SSO Provider Group.
- In the Link to SSO Provider Group dialog, in SSO Provider, select the Azure SSO Provider you set up, and in Group Name, paste the Object ID you copied from Azure. When you are done, the dialog will look something like this:
- Click SUBMIT. The User Group is now linked to the SAML SSO Provider and Azure group Object ID.
- Test Authorization.
- Open a new Chrome Incognito window to test the authorization using a Harness User account other than the one you are currently logged in with.
- Log into Harness using the user email address, and sign in using the Azure username and password. If you are already logged into Azure in Chrome, you might be logged into Harness automatically.
- In the linked Harness User Group, ensure that the Harness User account you logged in with was added.The Harness User is now added and the RBAC settings for the Harness User Group are applied to its account. For more information, see Managing Users and Groups (RBAC).
Automatically Provision Azure AD Users and Groups for Harness
You can use Harness' SCIM integration with Azure Active Directory (AD) to automatically provision users and/or groups in Harness based on their assignments in Azure AD. For setup instructions, see Microsoft's Tutorial: Configure Harness for Automatic User Provisioning.
You can also choose to enable SAML-based single sign-on for Harness, as covered in the next section. SSO can be configured independently of automatic user provisioning, although these two features complement each other.
SAML SSO with Azure Active Directory
You can use Azure Active Directory (AD) for SAML SSO with Harness, enabling AD users to log into Harness using their AD credentials.
For detailed steps on adding SAML SSO with Active Directory, follow the steps in the tutorial Azure Active Directory single sign-on (SSO) integration with Harness from Microsoft.
SAML SSO with Google G Suite
Harness supports SAML integration with Google G Suite to enable your employees to use their Google account credentials to sign into the Harness platform.
For information about G Suite and SAML, see Service provider SSO set up from Google.
First, we will set up Harness as a SSO SAML app with Google G Suite, and then we will configure Harness to use Google G Suite for SSO.
Add Harness as G Suite SSO App
To set up SAML with Google G Suite, do the following:
- Log into your G Suite Admin console.
- From the Admin console Home page, go to SAML apps.
- Click the plus sign next to Enable SSO for a SAML Application.
- In Step 1, at the bottom, click SETUP MY OWN CUSTOM APP.
- In Step 2, the Google IdP Information appears, including the SSO URL and Entity ID URLs.
- In Option 2, click DOWNLOAD to download the IDP metadata to your computer. The IDP metadata file will be used to set up G Suite SSO in Harness.
- Click NEXT.
- In Step 3, in Application Name, enter app.harness.io.The SAML application identifier should be always
- In Step 4, provide the Harness provider details.
- In ACS URL, enter the Harness SAML Endpoint URL from the Harness Single Sign-on (SSO) Provider dialog. To obtain this URL, in Harness, select Continuous Security > Access Management > Authentication Settings.
- On the resulting Authentication Settings page, click Add SSO Provider, and click SAML.The Single Sign-on (SSO) Provider dialog appears.
- Copy the Harness SAML Endpoint URL from the dialog and enter it in ACS URL in G Suite.
- In Entity ID, enter app.harness.io.
- In Start URL, enter the same URL you entered for ACS URL.
- Leave Signed Response unchecked, and click NEXT.
- In Step 5, click FINISH.
- In the Harness service provider page, click the pencil icon to turn on the new Harness SSO app.
- In the Status setting, click Settings for all organizational units.
- In the Service Status settings, click ON for everyone, and then click SAVE.
Next, add G Suite as a Harness SSO provider for your Harness account.
Add G Suite as a Harness SSO Provider
To add the Harness SSO G Suite App you created as a Harness SSO Provider, do the following:
- Log into Harness with an account that is in the Harness Account Administrator group.
- In Harness, select Continuous Security > Access Management. > Authorization Settings.
- Click Add SSO Provider. The Single Sign-on (SSO) Provider dialog appears.
- Click Choose File, and upload the IDP metadata file you downloaded from Google.
- In Display Name, enter a name to identify this SSO account, such as Google, and click SUBMIT.
- Back in the Single Sign-on(SSO) Provider Setup list, enable the new SSO provider.
- You are finished. To test the provider, log out of Harness.
- Open a G Suite app, such as Mail, and locate the Harness app you added by clicking the Google Apps icon.
- Click the Harness app icon and you will be redirected to app.Harness.io, and logged in.
SAML SSO with OneLogin
To set up OneLogin as a SAML SSO provider on Harness, you exchange the necessary information between your OneLogin application and Harness. The following sections cover Authentication steps, followed by Authorization steps.
OneLogin Authentication on Harness
Enabling OneLogin authentication on Harness requires configuration on both platforms, as described in these sections:
- Exchange Harness Consumer URL and OneLogin Metadata
- Assign Users to Roles
- Enable OneLogin as a Harness SSO Provider
Exchange Harness Consumer URL and OneLogin Metadata
- In Harness Manager, select Security > Access Management > Add SSO Providers. From the resulting drop-down, select SAML.
- In the resulting Add SAML Provider dialog, copy the provided URL to the clipboard.
- On OneLogin's Applications > Configuration page, paste this URL into the SAML Consumer URL field.
- Skip all other Application Details fields, and click Save.
- Navigate to OneLogin's Applications > SSO tab. At the upper right, select More Actions > SSO Metadata.
- From the resulting dialog, download the .xml authentication file that you'll need to upload to Harness.
Assign Users to Roles
- In OneLogin, select Users > Users.If you prefer to assign groups to roles, instead start at Users > Groups, and modify the following instructions accordingly.
- Search for a user that you want to add to Harness.
- Click to select the user.
- On the resulting Users page, select the Applications tab at left.
- Click the + button at upper right to assign an Application.
- Find and select the Application, then click Continue.
- Repeat this section for other users (or groups) that you want to add to Harness.
Enable OneLogin as a Harness SSO Provider
- In Harness Manager, select Continuous Security > Access Management > Authentication Settings.
- Beside SSO Providers, click the More Options ⋮ menu to open the Edit SAML Provider dialog.
- Use Choose File to upload the .xml file that you obtained from OneLogin.
- Change the Display Name to a simple entry, like SAML.
- Deselect Enable Authorization.
- Select Submit.This adds OneLogin as a SSO Provider, and returns you to Harness Authentication Settings,
- Slide the Authentication enabled? slider right, to enable your new provider.
- In the resulting Enable SSO Provider dialog, click Test.
- Once the test is successful, click Submit to finish setting up OneLogin authentication.
OneLogin Authorization on Harness
Once you've enabled OneLogin authentication on Harness, the following sections outline how to enable authorization between the two platforms:
Assign Roles to Users
Harness’ SAML authorization replicates OneLogin Roles as Harness User Groups. Here is how to begin mapping between these entities.
- From OneLogin's, menu, select Users > Users.
- Click to select a user, assigned to Harness, whom we want to assign to appropriate OneLogin Roles.
- Select the Applications tab at left.
- As shown above, click each Role that you want to assign to this user.
- Click Save User at upper right.
- Repeat this section for other users to whom you want to assign Roles.
Define Group Parameters
- Select Applications > Parameters, then select the
+button to add a new Parameter.
- In the resulting New Field dialog, assign a Field name (for example Groups).
- Select Include in SAML assertion and Multi-value parameter. Then click Save.
- Back on the Parameters tab, select your new Groups field.
- In the resulting Edit Field Groups dialog, set Default if no value selected to User Roles. Below that, select Semicolon Delimited input (Multi-value output). Then select Save.
- Select Save again at the Parameters page's upper right.
Sync User Groups in Harness
- In Harness Manager, select Continuous Security > Access Management > Authentication Settings.
- Beside SSO Providers, click the More Options ⋮ menu to open the Edit SAML Provider dialog.
- Select Enable Authorization
- In Group Attribute Name, type paste in the name of your the Field Group you configured in OneLogin.
- Click Submit. This returns you to the Authentication Settings page.
Navigate to Continuous Security > Access Management > User Groups.
- Select the User Group to sync.
- On the Member Users card, select Link to SSO Provider Group.
- In the resulting dialog, set the SSO Provider drop-down to SAML.
- In Group Name, type or paste the name of the Field Group you configured in OneLogin.
- Click SUBMIT.The link now appears on the User Group's Member Users record.
Test the Integration
After you've synced User Groups between OneLogin and Harness, users will be assigned to the designated Harness User Group upon your next login to Harness. To test whether OneLogin authentication and authorization on Harness are fully functional:
- Log out of Harness.
- Log back into Harness.For an ideal test, use an Incognito browser window.
- If you see a OneLogin prompt for credentials, this indicates that authentication is set up.
Log in with the credentials you set up in OneLogin, and confirm that doing so logs you into your Harness account.
- In Harness Manager, navigate to Continuous Security > Access Management > User Groups.
- Click the Group you synced earlier.
- Verify that users from the synced OneLogin group should now appear within this Harness User Group. If so, this confirms successful authorization.
- For Okta, please use the Okta Administrator Classic UI Dashboard to add an application and configure SAML settings. For more information, see Setting Up a SAML Application in Okta.