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

new-githuboauthtoken doesn't work (assumption: when 2FA turned on?) #35

Open
petemounce opened this issue Jul 13, 2016 · 0 comments
Open

Comments

@petemounce
Copy link

petemounce commented Jul 13, 2016

I assume this happens because 2FA is turned on, but don't know based on just the output here.

New-GitHubOAuthToken -username petemounce -Password '<my correct password>' -verbose
VERBOSE: POST https://api.github.com/authorizations with -1-byte payload
New-GitHubOAuthToken : An unexpected error occurred (bad user/password?)
At line:1 char:1
+ New-GitHubOAuthToken -username petemounce -Password 'v ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-GitHubOAuthToken
@petemounce petemounce changed the title new-githuboauthtoken doesn't work when 2FA turned on new-githuboauthtoken doesn't work (assumption: when 2FA turned on?) Jul 13, 2016
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

1 participant