GitHub token authentication requirements


#1

Hi,
As an axoloti contributor and github user i received an email concerning
a change of their authentication scheme.

"
Hi @SmashedTransistors,

You recently used a password to access the repository at axoloti/axoloti-contrib with git using JGit

Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information around suggested workarounds and removal dates.

Thanks,
The GitHub Team
"
Is there any adaptation scheduled for the Axoloti UI to take account of this ("Beginning August 13, 2021, we will no longer accept account passwords when authenticating Git operations on GitHub.com.")


#2

Don't think there's a plan yet. But this should indeed be fixed or the community library won't work anymore.
Filed this as an issue on GitHub.


#3

yes, very annoying, can't upload any modules either since they did this.. :frowning:


#4

You not being able to upload objects is likely another problem, since other people can still upload to the community repository.

My guess is that there is a local git merge conflict on your machine. The Axoloti Patcher acts as a basic GUI for git, and is not written to handle these kinds of things.

The problem you have can probably be fixed with the GitHub Desktop app: https://desktop.github.com/


#5

any news concerning this issue ?

Note: i'm removing some dev unfinished objects from tiar/dev until further notice (as i don't want unfinished objects to stay indefinitely in the repo).


#6

Good news!

Just did some tests with one of my own repositories, and I was able to commit new objects using the Axoloti patcher (v1.0.12) using a GitHub Token. I'll do a test with the community library later and write a tutorial explaining how to set up everything.


#7

A short guide for those of you who need to setup the Axoloti patcher to work with the new GitHub token system:

Guide on GitHub to create a token: https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token

I used these settings for my Axoloti token:

The generated token will look like ghp_9Adc2g1GYFkE7zGl87USvKowxl6vYvI4VTWWN. Use this as your password in the Axoloti preferences, your username will be the same as it was before.