You must be signed in as a super administrator for this task.
Using Security Assertion Markup Language (SAML), your users can use their Google Cloud credentials to sign in to enterprise-cloud applications.
Note: Black Duck must be deployed on Google Compute Engine (GCE) , Amazon Web Services (AWS) or Azure . For deployment instructions please refer to Black Duck’s cloud platform documentation.
Set up SSO via SAML for Black Duck
Step 1: Set up Google as a SAML identity provider (IdP)- Sign in with a super administrator account to the Google Admin console.
If you aren’t using a super administrator account, you can’t complete these steps.
-
- Click Add app Search for apps.
- Enter Black Duck by Synopsysin the search field.
- In the search results, hover over the Black DuckSAML app and click Select.
- On the Google Identity Provider detailspage, download the IDP metadatafile.
- Click Continue.
- On the Service provider detailspage, edit the ACS URLand Entity IDreplacing {your-domain} with the the domain where Black Duck is installed.
- Click Continue.
- On the Attribute Mappingpage, set the Select categoryand Select user fieldvalues as follows for the listed attributes:
Application attribute Select category Select user field FirstNameBasic Information First Name LastNameBasic Information Last Name EmailBasic Information Primary Email NameBasic Information Primary Email - (Optional) To enter group names that are relevant for this app:
- For Group membership (optional), click Search for a group, enter one or more letters of the group name, and select the group name.
- Add additional groups as needed (maximum of 75 groups).
- For App attribute, enter the corresponding groups attribute name of the service provider.
Regardless of how many group names you enter, the SAML response includes only groups that a user is a member of (directly or indirectly). For more information, go to About group membership mapping .
- Click Finish.
- Open a new incognito browser window.
- Sign in to Black Duck with your admin account.
- Click Administrationand select SAML Integration.
- Check Enable SAML.
- In the Service Providers Entity URLenter the URL to the Hub.
- In the Identity Provider Metadatatext box, paste the contents of the IDP metadata file you downloaded in Step 1.
- Click Save.
- Connect via Secure Shell (SSH) to the Hub server.
- In the docker-compose directory, edit the hub-proxy.env file as follows: add the following line to the end of the file, replacing {url-to-the-hub} with the URL of the instance where Black Duck is deployed:
- HUB_SAML_EXTERNAL_URL={url-to-the-hub}
- Restart the Hub Instance.
- Sign in with a super administrator account to the Google Admin console.
If you aren’t using a super administrator account, you can’t complete these steps.
-
- Select Black Duck.
- Click User access.
-
To turn a service on or off for everyone in your organization, click On for everyoneor Off for everyone, and then click Save.
- (Optional) To turn a service on or off for an organizational unit:
- At the left, select the organizational unit.
- To change the Service status, select Onor Off.
- Choose one:
- If the Service status is set to Inherited and you want to keep the updated setting, even if the parent setting changes, click Override.
- If the Service status is set to Overridden, either click Inheritto revert to the same setting as its parent, or click Saveto keep the new setting, even if the parent setting changes.
Learn more about organizational structure .
- (Optional) To turn on a service for a set of users across or within organizational units, select an access group. For details, go to Use groups to customize service access .
- Ensure that your Black Duck user account email IDs match those in your Google domain.
Note:Black Duck only supports SSO if you sign in from Google. You can’t use SSO if you sign in directly to Black Duck.
- Sign in with a super administrator account to the Google Admin console.
If you aren’t using a super administrator account, you can’t complete these steps.
-
- Select Black Duck.
- At the top left, click Test SAML login.
Black Duck should open in a separate tab. If it doesn’t, use the information in the resulting SAML error messages to update your IdP and SP settings as needed, then retest SAML login.
Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.

