Protegy · How to enable 2FA on

How to enable 2FA on GitLab

Download Protegy, connect the service in the Authenticator tab, verify a fresh code, and save the recovery options before you sign out.

✓Last reviewed: 2026-07-31
Current settings pathAvatar → Edit profile → Account → Two-factor authentication → Register authenticator app

Service details

Official domain
gitlab.com ↗
Category
Developer
Supported verification methods
Authenticator code (TOTP) · Security key / U2F

Before you start

Install Protegy, sign in to the service on a trusted device, and keep the page open while you add the account.

Setup steps

  1. 01

    Open the security settings using the path shown above.

  2. 02

    Avatar → Edit profile → Account → Two-factor authentication → Register authenticator app

  3. 03

    In Protegy, tap add, scan the QR code, then return to the service and enter the current six-digit code.

  4. 04

    Save the service's recovery codes somewhere separate from the phone that holds your authenticator.

Recovery and troubleshooting

If a code is rejected, check that your device time is set automatically and try the next code. If you lose the phone, use a recovery code, a trusted session, or the service's official account-recovery flow.

Related terms

FAQ · GitLab

Before you start: GitLab

Install Protegy, sign in to the service on a trusted device, and keep the page open while you add the account.

Setup steps: GitLab

Avatar → Edit profile → Account → Two-factor authentication → Register authenticator app

Supported verification methods: GitLab

Authenticator code (TOTP) · Security key / U2F

Recovery and troubleshooting: GitLab

If a code is rejected, check that your device time is set automatically and try the next code. If you lose the phone, use a recovery code, a trusted session, or the service's official account-recovery flow.

Official documentation

https://docs.gitlab.com/user/profile/account/two_factor_authentication/ ↗

Interface labels can change. The official documentation is the source of truth. Protegy is not affiliated with the service named on this page.

Service capability data sourced from 2FA Directory by 2factorauth. 2fa.directory ↗

Related guides