Setup two factor authentication for GitLab

Sign in

Go to GitLabarrow-up-right to sign in

Go to account settings

Click on Edit profile or Preferences to go to User Settings

Enable authentication

Go to Account and click on Enable two-factor authentication

On your device (usually phone)

Install a compatible app:

  1. Cloud base (recommended because you can restore access if you lose the hardware device):

In your app, add a new entry in one of the two ways

  • Scan the code provided by GitLab in with your device's camera to add it automatically

  • Enter the details provided to add the entry manually

In GitLab

Enter the six-digit number provided by your device's new entry into Pin code

Download the recovery codes provided by GitLab before continue

Click on Proceed

Last updated