Downloading your organization's SAML single sign-on recovery codes
Organization administrators should download their organization's SAML single sign-on recovery codes to ensure that they can access GitHub even if the identity provider for the organization is unavailable.
Note: This feature is only available with GitHub Enterprise Cloud. For more information, see "GitHub's products."
Recovery codes should not be shared or distributed. We recommend saving them with a password manager such as LastPass, 1Password, or Keeper.
- In the top right corner of GitHub, click your profile photo, then click Your profile.
On the left side of your profile page, under "Organizations", click the icon for your organization.
Under your organization name, click Settings.
In the organization settings sidebar, click Security.
Under "SAML single sign-on", in the note about recovery codes, click Save your recovery codes.
Save your recovery codes by clicking Download, Print, or Copy.
Note: Your recovery codes will help get you back into GitHub if your IdP is unavailable. If you generate new recovery codes the recovery codes displayed on the "Single sign-on recovery codes" page are automatically updated.
Once you use a recovery code to regain access to GitHub, it cannot be reused. Access to GitHub will only be available for 24 hours before you'll be asked to sign in using single sign-on.