Tech Tips Tuesday: Authenticating Github App for Use with Bitbucket

I’m used to using the terminal for all of my version control needs. However, I sometimes like to use the GitHub App to easily see what has changed in my files without having to do a git diff. Sometimes, if I’ve made a bunch of edits, I’ll use the GitHub App to make my commits and then switch to the terminal to push them.

Whenever I’ve tried to push or sync with my remote repository using the app, I would get an Authentication Error telling me I don’t have access to the repository and to check my settings. I made sure I was logged into GitHub with the app, though I imagine this has nothing to do with why I couldn’t push to a Bitbucket repository.

Needless to say, I’ve been scratching my head at why I’ve been getting this error as I wanted to be able to sync with my remote repository if I’m already in the GitHub App.

The solution that worked for me was to add an SSH key to my bitbucket account. I had already generated an SSH key in the past, but if you don’t have one, you can read about how to generate one from Atlassian.

Once you have your SSH key, go back to Bitbucket and under “Manage Account” you will find SSH keys.

Add your SSH key there and under Settings in the repository in the app, use the SSH URL instead of the HTTPS one. Now, the “Sync” button in the app should work.

Leave a Comment

Your email address will not be published. Required fields are marked *