Accessing your organization if your identity provider is unavailable

Organization administrators can sign into GitHub even if their identity provider is unavailable by bypassing single sign-on and using their recovery codes.

SAML single sign-on is available with GitHub Enterprise Cloud. For more information, see "GitHub's products."

Organization administrators can use one of their downloaded or saved recovery codes to bypass single sign-on. You may have saved these to a password manager, such as LastPass or 1Password.

Note: You can only use recovery codes once and you must use them in consecutive order. Recovery codes grant access for 24 hours.

  1. At the bottom of the single sign-on dialog, click Use a recovery code to bypass single sign-on. Link to enter your recovery code
  2. In the "Recovery Code" field, type your recovery code. Field to enter your recovery code
  3. Click Verify. Button to verify your recovery code

After you've used a recovery code, make sure to note that it's no longer valid. You will not be able to reuse the recovery code.

Further reading

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.