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

Cannot authenticate to GitHub with gh > login #112

Closed
burtino opened this issue Jun 11, 2020 · 5 comments
Closed

Cannot authenticate to GitHub with gh > login #112

burtino opened this issue Jun 11, 2020 · 5 comments

Comments

@burtino
Copy link

burtino commented Jun 11, 2020

My github user has 2FA enabled.

If I use the instructions gh > login it takes me to the personal access token page.

If I try gh login <Personal Access Key> it also takes me right back to the page to create a personal access token.

In short. Oauth login flow for gh doesn't seem to be working anymore.

Any suggestions appreciated.

@higepon
Copy link

higepon commented Jun 23, 2020

I have the exact same issue.

@ascot21
Copy link

ascot21 commented Aug 4, 2020

I'm having issue too but typeing gh > login does nothing, doesn't even prompt me to start the login flow.

@gharlan
Copy link
Owner

gharlan commented Aug 4, 2020

Maybe try this: #82 (comment)

@ascot21
Copy link

ascot21 commented Aug 4, 2020

@gharlan thanks, that fixed it. Wonder if there's a way to make the cache expire at a regular interval?

@gharlan
Copy link
Owner

gharlan commented Sep 11, 2022

Closing here. -> #82

@gharlan gharlan closed this as completed Sep 11, 2022
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

4 participants