Gittyup
Gittyup copied to clipboard
Cant login to my github? Host requires authentication - I dont use authentication, Ive never used authentication
Theres also this old related issue: https://github.com/gitahead/gitahead/issues/494 where they suggest creating an access token to use as password, I tried that as well with the same outcome
If you use SSH urls to clone you are required to authenticate. HTTPS urls can be downloaded anonymously but you can't push without authenticating. These are now Gittyup limitations, this is GitHub policy enforced on their side. You you want to push to a repo you nede to setup a personal access token and use that as the password in Gittyup.
Currently the Github Account authentication does not work, because OAuth2 is not yet implemented in Gittyup and the previous basic authentication on Github is anymore allowed.
The easies way to push to Github:
- Create ssh key on your computer
- Add the public key to your Github account (https://github.com/settings/keys)
- clone Github Repository using ssh (Gittyup for example: [email protected]:Murmele/Gittyup.git)
Gittyup uses the default ssh configuration on your computer on Linux: ~/home/$USER/.ssh
so you can normaly push.
@ItsCubeTime you said it doesn't work using an access token - which scopes did you assign and which version are you using?
For me it works with just the repo
scope
@ItsCubeTime you said it doesn't work using an access token - which scopes did you assign and which version are you using?
For me it works with just the
repo
scope
![]()
I gave it access to literally everything
I think I encountered the same problem: cannot clone private repo.
Created a personal access token:
Got the error:
UPDATE: after I cloned the repo with CLI and added it to Gittyup, everything works.
Command used: git clone https://username:[email protected]/repo_name.git
@AsriFox you were trying to clone using SSH - personal tokens only work for HTTPS (as far as I know) Also, this issue is about linking a GitHub account (accessible using the bottom of the left sidebar)
@ItsCubeTime Did you make sure that the token was put in without any surrounding spaces or newlines? I had a stray newline when copying my token which caused the login to fail
@ItsCubeTime is this still reproducable?
Theres also this old related issue: gitahead/gitahead#494 where they suggest creating an access token to use as password, I tried that as well with the same outcome
@ItsCubeTime did you use the username or the email in the "Username" textfield? Only your username is working, not the email address
@ItsCubeTime
Theres also this old related issue: gitahead/gitahead#494 where they suggest creating an access token to use as password, I tried that as well with the same outcome
@ItsCubeTime did you use the username or the email in the "Username" textfield? Only your username is working, not the email address
Idk what I used last time, but I tried again today
and see the same error, using my usern & password that I use when logging into github.com via the website
What is the solution?
You have to use your username (not email) and the access token you can create.