Using the SAML 2.0 standard, you can configure single sign-on (SSO) for a number of cloud apps. After you set up SSO, your users can use their Google Workspace credentials to sign in to an app using SSO.
Use SAML to set up SSO for CloudBees
You must be signed in as a super administrator for this task.
Step 1: Set up Google as a SAML identity provider- Sign in to your Google Admin console .
Sign in using an account with super administrator privileges (does not end in @gmail.com).
- In the Admin console, go to Menu Apps Web and mobile apps.
- Click Add app Search for apps.
- For Enter app name, enter CloudBees.
- In the search results, point to CloudBeesand click Select.
- In the Google Identity Provider detailswindow, download the IdP metadata.
- Click Continue.
- On the Service provider detailspage, complete the following steps:
- For ACS URL, replace {base-url}with the sign-in URL for your CloudBees account that was created during account setup.
- For Entity ID, replace {entity-id}with a value of your choice (for example, a substring of your ACS URL). Copy and save this value. You need these details to finish setting up SSO.
- Click Continue.
- In the Attribute Mappingwindow, click Select fieldand map the following Google directory attributes to their corresponding
CloudBees attributes. The email
and username attributes are required.
Google directory attribute CloudBees attribute Basic Information > Primary Email email Basic Information > Primary Email username - (Optional) To add additional mappings, click Add Mappingand select the fields that you need to map.
- (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 service provider’s corresponding groups attribute name.
Regardless of how many group names you enter, the SAML response will include only groups that a user is a member of (directly or indirectly). For more information, go to About group membership mapping .
- Click Finish.
- Open an Incognito browser window, go to the CloudBees sign-in page, and sign in with your CloudBees administrator account.
- On the side, click Manage CloudBees Configure Global Security.
- In Security Realm, select SAML 2.0to enable SSO.
- For SAML Identity Provider Settings, complete the following steps:
- For IdP Metadata, paste the contents of the IdP metadata file that you downloaded in Step 1.
- (Optional) Click Validate IdP Metadatato validate the metadata.
- For Username Attribute, enter your username.
- For Email Attribute, enter your email.
- Check the Advanced Configurationbox.
- For SP Entity ID, paste the custom entity ID value that you saved in Step 1.
- Click Save.
Before you begin: To turn a service on or off for certain users, put their accounts in an organizational unit (to control access by department) or add them to an access group (to allow access for users across or within departments).
- Sign in to your Google Admin console .
Sign in using an account with super administrator privileges (does not end in @gmail.com).
- In the Admin console, go to Menu Apps Web and mobile apps.
- Click CloudBees.
- 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.
Note: Learn more about organizational structure .
- 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 CloudBees user account email domains match the primary domain of your organization’s managed Google Account.
CloudBees supports both identity provider-initiated and service provider-initiated SSO.
Verify identity provider-initiated SSO
- Sign in to your Google Admin console .
Sign in using an account with super administrator privileges (does not end in @gmail.com).
- In the Admin console, go to Menu Apps Web and mobile apps.
- Click CloudBees.
- In the CloudBeessection, click Test SAML Login.
The app should open in a separate tab. If it doesn’t, troubleshoot the error message and try again. For details on troubleshooting, go to SAML app error messages .
Verify service provider-initiated SSO
- Close all browser windows.
- Go to the CloudBees
sign-in pageand sign in with your CloudBees administrator account.
You should be redirected to the Google sign-in page. - Select your account and enter your password.
After your credentials are authenticated, the app should open.
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.