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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.