2FA methods supported by GitLab
Adding two-factor authentication is one of the most effective ways to protect your GitLab account. With TOTP support, you can generate GitLab verification codes directly in the Authenticator App.
Authenticator app (TOTP)
GitLab lets you use time-based one-time passwords, so you can generate verification codes in an authenticator app on your device — no network or SMS needed.
Security key (U2F)
GitLab works with hardware security keys using the U2F/FIDO standard.
GitLab 2FA — Frequently asked questions
Does GitLab support an authenticator app?
Yes. GitLab supports time-based one-time passwords (TOTP), so you can add it to the Authenticator App and generate verification codes right on your device.
Which two-factor authentication methods does GitLab support?
GitLab currently supports: Authenticator app (TOTP), Security key (U2F).
Is it free to generate GitLab codes with the Authenticator App?
Yes. The Authenticator App is free to download, and generating GitLab verification codes does not require an account or sign-up.
This page is for educational purposes only. We are not affiliated with or endorsed by GitLab. All trademarks and product names are the property of their respective owners and are used solely for identification.