Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to modify GitHub OAuth scopes requested?

Our enterprise just switched from BitBucket to GitHub Enterprise (hosted). I have access to several orgs inside the enterprise. When attempting to add the GitHub account to SourceTree I have two options (GitHub and GitHub Enterprise) but only one, GitHub, allows me to use OAuth. When using OAuth and clicking 'refresh token', a browser tab opens (github already logged in and PAT already created) asking me if I want to add SourceTree as a trusted app. All is well so far, but in the list of orgs that I belong to, only one is checked (not the one I really need) and the rest have an 'authorize' button next to them. Clicking the 'authorize' button it tells me that I'm about to ask the owners for permission. Well, I take a look at all the permissions (scopes) that SourceTree is asking for and I know full well they'll never allow it. So, now to my question...

Why does SourceTree ask for so many (seemingly all) permissions/scopes from GitHub? Is there a way to modify the scopes being requested?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,350 views 127 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you