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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

4,265 views 4 8
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