Okta

How to Configure SAML 2.0 for GitHub Enterprise Server


Note: For more information about GitHub and SAML SSO, see About authentication with SAML single sign-on.

Contents


Supported Features

The Okta/GitHub Enterprise Server SAML integration currently supports the following features:

For more information on the listed features, visit the Okta Glossary.


Configuration Steps

  1. Sign in to your Github Admin Console at https://[hostName]/setup/settings where [hostName] is your GitHub Enterprise Server host name.

  2. Select Authentication on the left menu bar. Then select SAML:

    github_new_1.png

  3. On the Authentication page, enter the following (see screen shot at end of step for reference):

    • IdP initiated SSO (disables AuthnRequest): Uncheck this option.

    • Disable administrator demotion/promotion. (ignore the administrator attribute): Check this option.

    • Single sign-on URL: Copy and paste the following:

      Sign into the Okta Admin dashboard to generate this value.

    • Issuer: Copy and paste the following:

      Sign into the Okta Admin Dashboard to generate this variable.

    • Signature Method: Select RSA-SHA256.

    • Digest Method: Select SHA256.

    • Name Identifier Format: Select unspecified.

    github_new_2.png

  4. Download and save the following certificate as okta.cert:

    Sign into the Okta Admin Dashboard to generate this variable.

  5. Verification certificate: Click Choose File to locate and upload the Verification certificate you just saved:

    github_new_3.png

  6. User attributes: Enter the following:

    • Username: Enter uid.

    • Full name: Enter fullname.

    • Email(s): Enter emails.

    Leave the default values for the rest of the attributes.

    github_new_4.png

  7. Click Save Settings:

    github_new_5.png

  8. Done!


Notes

The following SAML attributes are supported:

SP-initiated SSO

Open your GitHub Enterprise Server login URL, for example: https://[hostName]/login.