GitHub Enterprise cloud app

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 GitHub Enterprise

You must be signed in as a super administrator for this task.

Step 1: Set up Google as a SAML identity provider

  1. In the Google Admin console, go to Menuand then Apps and then Web and mobile apps .

    You must be signed in as a super administrator for this task.

  2. Click Add app and then Search for apps .
  3. For Enter app name , enter GitHub Business .
  4. In the search results, point to GitHub Business and click Select .
  5. In the Google Identity Provider details window, for Option 2: Copy the SSO URL, entity ID, and certificate :
    1. Next to SSO URL , click Copyand save the URL.
    2. Next too Entity ID , click Copyand save the URL.
    3. Next to Certificate , click Downloadto download the certificate.
      You need these details to complete the setup in GitHub Enterprise.
  6. Click Continue .
  7. On the Service provider details page, for ACS URL and Entity ID , replace {your-organization} with your GitHub Enterprise organization name.
  8. Click Continue .
  9. In the Attribute Mapping window, click Select field and map the following Google directory attributes to their corresponding GitHub Enterprise attributes. The firstName and lastName attributes are required.
    Google directory attributes App attributes
    Basic Information > First Name firstName*
    Basic Information > Last Name lastName*
  10. (Optional) To add additional mappings, click Add Mapping and select the fields that you need to map.
  11. (Optional) To enter group names that are relevant for this app:
    1. For Group membership (optional) , click Search for a group , enter one or more letters of the group name, and select the group name.
    2. Add additional groups as needed (maximum of 75 groups).
    3. 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 .

  12. Click Finish .

Step 2: Set up GitHub Enterprise as a SAML 2.0 service provider

  1. Open an Incognito browser window and go to the GitHub Enterprise sign-in page , and sign in with your GitHub Enterprise administrator account.
  2. Click your usernameand then Settings .
  3. Click your organization nameand then Security .
  4. For SAML single sign-on :
    • In the Sign on URL field, paste the SSO URL that you copied earlier.
    • In the Issuer field, paste the entity ID that you copied earlier.
    • In the Public certificate field, copy the certificate that you downloaded earlier.
  5. Click Test SAML configuration to verify your settings.
  6. Check the Enable SAML authentication box.
  7. Click Save .

Step 3: Turn on app for users

  1. In the Google Admin console, go to Menuand then Apps and then Web and mobile apps .

    You must be signed in as a super administrator for this task.

  2. Click GitHub Business .
  3. Click User access .
  4. To turn a service on or off for everyone in your organization, click  On for everyoneor  Off for everyone, and then click  Save.

  5. (Optional) To turn a service on or off for an organizational unit:
    1. At the left, select the organizational unit.
    2. To change the Service status, select Onor Off.
    3. Choose one:
      • If the Service status is set to Inheritedand 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 .

  6. (Optional) To turn on a service for a set of users across or within organizational units, select an access group. For details, go to  Customize service access using access groups .
  7. Ensure that your GitHub Enterprise user account email domains match the primary domain of your organization's managed Google Account.

Step 4: Verify SSO is working

GitHub Enterprise supports both identity provider-initiated and service provider-initiated SSO.

Verify identity provider-initiated SSO

  1. In the Google Admin console, go to Menuand then Apps and then Web and mobile apps .

    You must be signed in as a super administrator for this task.

  2. Click GitHub Business .
  3. In the GitHub Business section, 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

  1. Close all browser windows.
  2. Open https://github.com/orgs/{your-organization}/sso and attempt to sign in. You should be automatically redirected to the Google sign-in page.
  3. Enter your sign in credentials.

    After your sign in credentials are authenticated, you are automatically redirected to GitHub Enterprise.

  4. Sign in with your personal GitHub account credentials.


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.

Create a Mobile Website
View Site in Mobile | Classic
Share by: