Set up 2FA for GitLab on your Mac

GitLab supports authenticator apps for two-factor authentication. Here’s how to set it up with Quick Authenticator on your Mac.

  1. Sign in to GitLab and open the security settings: GitLab security settings

    Path in the English interface: Edit profile › Account › Two-factor authentication

  2. Choose to set up an authenticator app. GitLab shows a QR code.
  3. In Quick Authenticator, click +, then “Scan from Screen” and pick the window with the QR code. You can also hold the QR code up to your Mac’s camera or paste the setup key. On your iPhone or iPad, tap + and scan the QR code with the camera.
  4. Enter the current code from Quick Authenticator to confirm.
  5. Save the backup codes GitLab gives you in a safe place.

← All setup guides