-
Notifications
You must be signed in to change notification settings - Fork 38
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
2FA not working #35
Comments
Any updates on this? Having the same issue |
Having this issue too. I'm getting a slightly different message though:
|
Same error message here |
As a workaround, I did this to manually create an account (using Ubuntu):
Now when you try to execute a command with this account, Heroku recognizes the creds are bad and sends you to the browser login to get a token instead of asking for your password:
|
This workaround doesn't allow you to switch easily. You have to sign in again each time. I'm going to fork this project and submit a PR to support getting and setting the api token properly through the web auth flow. |
Note that an API key can be used as password as well. Source: https://stackoverflow.com/questions/68105084/not-able-login-to-heroku-account-from-command-line |
@rubengmurray doesn't work for actual personal accounts with 2FA. |
Really? I did the following:
Worked. I'm just using a standard personal login, go to top right, account settings, then bottom of the screen, API key... |
Using API key as password worked for me as well 😄 Thanks @holtkamp |
Needs instructions in the README for how to do this. I don't really follow the discussion in this thread. Seeing as how heroku now requires MFA, and this tool does not work as documented with an account with MFA... I'm getting the feeling heroku doesn't actually support this tool anymore? (I'm getting the feeling it's unclear what heroku does support anymore?) |
@jrochkind - the fact I raised this in Dec last year and it's had 0 comments would support that theory, though I'm still using this fine with multiple accounts locally. Is the generating of an API key to use as a substitute for your password the element that is unclear? |
The state of this repository is so bad that even it's from heorku, I feel insecure (Pun intended) |
@jrochkind I wrote a few words at #19 (comment) how I use this plugin |
The text was updated successfully, but these errors were encountered: