In the event that your IdP is unavailable, you can use a recovery code to sign in and access your enterprise on GitHub. 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.
-
In the top-right corner of GitHub, click your profile photo.
-
Depending on your environment, click Your enterprise, or click Your enterprises then click the enterprise you want to view.
-
On the left side of the page, in the enterprise account sidebar, click Settings.
-
Under Settings, click Authentication security.
-
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."
-
To save your recovery codes, click Download, Print, or Copy.