After you configure 2FA via a TOTP mobile app, you can add a security key that supports the FIDO U2F standard to use for two-factor authentication on GitHub Enterprise.

Note: FIDO U2F authentication is currently only available for the Chrome browser.

  1. You must have already configured 2FA via a TOTP mobile app.
  2. Ensure that you have a FIDO U2F compatible security key inserted into your computer.
  3. Settings icon in the user barIn the upper-right corner of any page, click your profile photo, then click Settings.
  4. Security settings sidebarIn the user settings sidebar, click Security.

  5. Edit 2FA methodsUnder two-factor authentication, click Edit.

  6. Registering a new FIDO U2F deviceUnder Security keys, click Register new device.

  7. Providing a nickname for a FIDO U2F deviceType a nickname for the security key, then click Add.
  8. Prompt for a FIDO U2F deviceWhen prompted, touch your security key to have it authenticate against GitHub Enterprise.

  9. If you're authenticating to GitHub Enterprise on an Android phone, you can use your FIDO U2F compatible security key and Google Authenticator to sign into your account with Near Field Communication (NFC).

  10. Download recovery codes buttonDownload your recovery codes and save them in a safe place, such as a password manager. Your recovery codes are to be used in the event you lose access to your account.