Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for https for private OAUTH accounts using personal access tokens #36

Open
nevmac opened this issue Jul 22, 2019 · 1 comment
Open

Comments

@nevmac
Copy link

nevmac commented Jul 22, 2019

I am hitting a wall and suspect it is the fact that GitHub requires OAUTH accounts to authenticate using only https using personal access tokens. I tried changing the URL to the https URL structure of
https://[account]:[personalaccesstoken]@github.com/[account]/repo.git
but still receive a "fatal: could not read Username for 'https://github.com': No such device or address" error. Any chance of support for OAUTH accounts using this method?

@cubakcabak
Copy link

this one works for me on gitlab

https://oauth2:[personalaccesstoken]@gitlab.com/[account]/[repo].git

maybe you can try on github too, just change that [account] with fixed oauth2 string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants