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

How to change login credentials for Github?

Github will soon change its login credentials:

"Basic authentication using a password to the API is deprecated and will soon no longer work. Visit https://developer.github.com/changes/2020-02-14-deprecating-password-auth/ for more information around suggested workarounds and removal dates."

 

I have tried to change to OAuth but it does not work. I always get this when i try a push:

"Pushing to https://github.com/CarCode/Cocoa-OCPN
remote: Permission to CarCode/Cocoa-OCPN.git denied to CarCode.
fatal: unable to access 'https://github.com/CarCode/Cocoa-OCPN/': The requested URL returned error: 403"

Where do I find any information to connect Sourcetree to Github with the new authentication? Or is that not supported by Sourcetree? I use version 4.0.1 for macOS.

 

2 answers

1 accepted

0 votes
Answer accepted

I guess this answer might help you.


In my case, I was able to rather simply switch to the new authentication (using personal token) which now seems to work (without sending me any depreciation notice).

Thank you, got it now.

How did you get this to work? My new token works fine from command line git, but nothing I try will be accepted by sourcetree.

I'm using basic auth.

For user name i've tried my github username, the email address I use, others. But nothing works. With command line git I use my full email for username, and I use the token as the password. no problems.

What does sourcetree want as my username? The same thing command line git wants (my email)? something else?

do I need to give my token more scopes just so source tree can log in?

As I wrote above, you can check answers to this related question (and maybe more particularly this one). In addition, an interesting summary of procedures can be found on Stack Overflow.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events