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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,461,218
Community Members
 
Community Events
176
Community Groups

Why can't I select OAuth for GitHub Enterprise?

I'm using SourceTree on a Mac.

I'm trying do add an account under  preferences -> accounts.

I've selected GitHub Enterprise for the Host.

The Auth Type field below says Basic and is greyed out, not able to be changed.

If I instead select just GitHub, it does allow me to select OAuth instead of Basic auth type.

Why is that? Is there a technical reason why SourceTree does not support OAuth for GitHub enterprise? I would find that surprising. Or is it just a commercial restriction because GitHub enterprise is a competitor to BitBucket? But I don't see anything about that on the website. Is there a version of SourceTree that does support it?

Using Basic auth type fails with a "Password authentication is not available for Git operations", even using my personal access token as the password.

1 answer

Pramodh M Community Leader Jan 25, 2022

FYI

GitHub Enterprise Server- Only PAT

GitHub Enterprise Cloud - PAT, OAuth

Login with PAT - should support both of those

For OAuth here's the reference

ST2.png

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events