Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitkraken bitbucket token invalid

I am using gitkraken on linux and it is excellent application. When I authenticate with bibucket, app will connect.

But when I try to make push, app will display error in top panel:

Your oAuth token for 'Bitbucket' is invalid. Would you like to refresh 
your oAuth credentials or try again without oAuth?

When I will select "Refresh Token" option I have to reconnect to bitbucket with the same result

"Retry without oAuth" option not connect (without error message), althought on bitbucket.org same login/pass work.

Originly I used another bitbucket account and that works, but with new one I cannot manage it.

Do someone has similar experience? Did you solve it?

like image 474
tomasr Avatar asked Aug 02 '18 06:08

tomasr


People also ask

How to Connect Bitbucket to GitKraken?

Navigate to Preferences → Integrations where you can select Bitbucket. After you click the Connect to Bitbucket button, GitKraken will make a call to the Bitbucket api. This will open your default browser where you can continue with the authentication process on Bitbucket.


2 Answers

I managed to solve it by deleting the remote and adding it again.

like image 58
Jose Gomez Avatar answered Sep 19 '22 06:09

Jose Gomez


I tried a couple of things and it worked for me:

  • close git graken
  • opened powershell / cmd and navigate to the repo
  • git pull
  • open git kraken
  • go into the preferences (the little burger on the top right)
  • integrations, re-enter the token from gitlab or whichever tool you might be using

Alternately, I also tried closing the repo in git kraken and opening it from the main page also. it works for me now.

like image 25
Dhruv Avatar answered Sep 19 '22 06:09

Dhruv