Skip to main content

Downloading your enterprise account's single sign-on recovery codes

To ensure that you can access GitHub Enterprise Cloud if your identity provider (IdP) is unavailable, you should download your enterprise account's single sign-on (SSO) recovery codes.

Who can use this feature

Enterprise owners can download the SSO recovery codes for the enterprise account.

In the event that your IdP is unavailable, you can use a recovery code to sign in and access your enterprise on For more information, see "Accessing your enterprise account if your identity provider is unavailable."

If you did not save your recovery codes when you configured SSO, you can still access the codes from your enterprise's settings.

  1. 在 的右上角,单击你的个人资料照片,然后单击“你的企业”。 GitHub Enterprise Cloud 上个人资料照片下拉菜单中的“你的企业”

  2. 在企业列表中,单击您想要查看的企业。 企业列表中的企业名称

  3. 在企业帐户侧边栏中,单击 “设置”。 企业帐户侧边栏中的“设置”选项卡

  4. In the left sidebar, click Authentication security. Security tab in the enterprise account settings sidebar

  5. Under either "Require SAML authentication" or "Require OIDC authentication", click Save your recovery codes.

    Note: OIDC SSO is only available for Enterprise Managed Users. For more information, see "About Enterprise Managed Users."

    Screenshot of the button to test SAML configuration before enforcing

  6. To save your recovery codes, click Download, Print, or Copy. Screenshot of the buttons to download, print, or copy your recovery codes