Login Issue

I am trying to login via my username and password, it is working fine. but after that, I am getting a screen to enter the two-factor authentication code, but I am not receiving the code as I guess my number is not configured. Also, I do not have one of the recovery code. Can anyone please help me in this?

Do you have a ssh key registered to your account? You can use it to reset the recovery codes https://docs.gitlab.com/ee/user/profile/account/two_factor_authentication.html#generate-new-recovery-codes-using-ssh

Also, how did you configure your 2FA? Gitlab doesn’t support phone 2FA, you have to use a hardware token or a software such Google Authenticator

1 Like

Thanks, it worked for me. I was having authenticator where it was configured.