Vibe Launchpad
GitHub· Step 2 of 100 cleared in this quest
Step 2 · about 8 minutes

Turn on two-factor authentication

Start in GitHub settings and add an authenticator app on your phone as a second sign-in check.

  1. Open GitHub Password and authentication settings. To get there from GitHub, click your profile picture → Settings → Password and authentication.
Open Password and authentication. The Two-factor authentication section shows the Enable two-factor authentication button.
Open Password and authenticationOpen full-size image
  1. Under Two-factor authentication, select Enable two-factor authentication.
  2. Keep the Setup authenticator app page and its QR code open on your computer.
  3. Install Google Authenticator on your phone. This is required for this lesson: iPhone / Apple App Store · Android / Google Play. If already installed, open it.
  4. In the phone app, tap + → Scan a QR code (sometimes labelled Scan barcode). Allow camera access and point your phone at the QR code on your computer screen.
  5. Find the saved GitHub account in the app’s list. Tap it if needed to view its current six-digit one-time password. Enter that code in GitHub’s Verify the code from the app field and continue.
  6. Under Save your recovery codes, click Download and save the file somewhere secure that you can reach if your phone is lost.
  7. Click I have saved my recovery codes, then Done if shown. Check that two-factor authentication is enabled.
Two-factor authentication after setup. Settings: Password and authentication, with the authenticator app marked Configured
Two-factor authentication after setupOpen full-size image