The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

"Invalid two-step verification code" on login

aptac01
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2024

Was tired of getting message on every login that said "set up 2fa, its so much more safe" (or something along the lines).

Went through the process of adding another account to my 2fa app on my phone. Entered code to check it, it worked, cool.

Then i was redirected to login page. I logged in, it asked me for 2fa, i entered code, it worked. But then it asked me for 2nd time, i entered the next code and got error "Invalid two-step verification code".

The funniest thing is - i can easily log in to id.atlassian.com/login and change my personal account settings. So, 2fa works, but not on bitbucket?

 

I changed 2fa (disabled and enabled again) several times in atlassian.com account, issue still persists.

One notable thing - i'm from Russia and i'm unable to login on bitbucket even when i'm using VPN.

Is it sanctions or atlassian effed bitbucket up?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2024

Hi and welcome to the community!

Bitbucket uses Atlassian accounts (the ones for https://id.atlassian.com/) for authentication. At the moment, it is possible to set up 2FA both for a Bitbucket account (from https://bitbucket.org/account/settings/two-step-verification/manage) and also for the connected Atlassian account (for https://id.atlassian.com/manage-profile/security).

If you do that, you'll get asked for a 2FA code twice when logging in to Bitbucket, first for the Atlassian account and then for the Bitbucket account. There should be two separate entries/accounts in the authenticator app, one for the Atlassian account and one for the Bitbucket account and the codes for one cannot be used for the other.

To avoid confusion, you can disable one of the two 2FA options and keep only one. Please ensure that you also keep the correct entry/account in the authenticator app that corresponds to the one you are keeping.

Please feel free to reach out if you have any questions.

Kind regards,
Theodora

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events