Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to login with lost 2FA, recovery codes

Rahul Soni August 2, 2021

I have accidentally reset my phone and thus, lost 2FA present on my device. I'm unable to recollect where I might have stored the recovery keys thus, that too, is not available.

I tried retrieving the recovery keys using SSH keys using the following command:
```

ssh git@bitbucket.org recovery_codes

```

But, I ain't getting any recovery keys in it, only an empty response!

I tried with the email recovery link which gets sent in 24hrs, twice but it is leading back to the 2FA modal.

We use the account at the corporate level and the repositories belong to my employer.  Thus, kindly suggest a recovery to the account or a way to retrieve access to all the repositories by using a new bitbucket account?

P.S.: I know the account password for Atlassian as well as Bitbucket and have 2FA codes for the Atlassian account but, not the Bitbucket account.

4 answers

1 accepted

2 votes
Answer accepted
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2021

Hi, @Rahul Soni! Welcome to the community! 

I reviewed your request and, checking your account, I confirmed that you requested the two-step verification recovery and then, after 24 hours, Bitbucket sent you the two-step verification recovery email. As you said you were not able to recover your access using the link that the system sent to you, I went ahead and sent you a new two-step verification recovery email, could you confirm if you received it?

In case you did, could you try to open the link on this email? In case it doesn't work, could you check if your email server doesn't have an internal feature that is used to check if the email is safe? The reason I’m asking this is that the link on this email can be opened just once, so if the server is trying to confirm if the link is safe and open this link, this could explain why the link is not working. 

Please let me know how it goes and feel free to share any additional questions regarding this case.

Kind regards,
Caroline

Rahul Soni August 2, 2021

Hey @Caroline R

I'm much thankful for the mail that you sent for the 2FA recovery, that mail worked absolutely fine. But, the ones triggered through the 2FA modal on clicking "Forgot code?" aren't working.

We have an email feature where a middleware checks the safeness of the link but, the mail you sent also went through this middleware and I was able to use it.

I guess there's some bug wrt to the 2FA modal-based recovery method, I'll suggest that the team should once troubleshoot and debug the same. Anyways, my issue is resolved, much thanks to you! :)

Also, I was unable to retrieve the recovery codes using SSH, can you please throw some light there? (P.S.: This is just for my and the community's understanding)

Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 4, 2021

Hi, @Rahul Soni

I'm glad to know the email worked, thanks for your confirmation! 

About the recovery codes, unfortunately, this method is currently not working, but we already have an open bug to fix this issue:

If you are not familiar with our Bug Request Policy, you can read more about it here

I've linked this ticket to the bug. Please consider adding yourself as a watcher, this way you get updated as we make progress with this.

Kind regards,
Caroline

Like # people like this
Mamitiana RANAIVOARISENA
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!
August 2, 2022

Hi there,

Could you help me as well dear Support because my 2FA app is lost and I am not able to access to our Bitbucket repository, but I can access to my Atlassian account. I do not have the Recovery code unfortunately.

 

Best regards,

Mamitiana.

Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2022

Hi, Mamitiana! 

Sorry for taking so long to respond. I see that you managed to disable your Bitbucket 2sv, so I believe everything is resolved, is this correct? 

Kind regards,
Caroline

Mamitiana RANAIVOARISENA
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 6, 2022

Hi Caroline,

Yes everything is OK now, when deactivating it, I have to wait for 24hours.

Regards,

Mamitiana

Like Caroline R likes this
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2022

Awesome! Thanks for your confirmation! 

alfredroa
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!
March 5, 2024

Hello @carol

I have a ticket yesterday as well asking the same .... could you please send me my recovery code ?

0 votes
Satheesh
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!
April 20, 2023

Hi @Caroline R  Can you help me to disable 2FA. my 2FA app is lost and I am not able to access to our Bitbucket repository, but I can access to my Atlassian account.

0 votes
Sharun Thomas
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!
April 11, 2023

Hello @Caroline R  my issue is similar to that reported by Rahul Soni , the email recovery link gets sent in 24hrs, but is not getting I could restore my account, can you please help me with this?

0 votes
Priyanka Shetye December 28, 2022

Hello @Caroline R  my issue is exact similar as that of reported by Rahul Soni , the email recovery link which gets sent in 24hrs, twice but it is leading back to the 2FA modal , can you please help me with this.  Same process I had followed 6 months back it went smooth and I could restore my account but now same process is not helping.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events