-
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
Switching accounts requires repeat login when using 2FA #13
Comments
I think the big "problem" here is, that |
It looks like it now always requires the browser login even if 2FA is disabled: https://devcenter.heroku.com/changelog-items/1530?utm_source=dlvr.it&utm_medium=twitter |
This is such a painful thing to deal with. I have to do a browser login every time I switch accounts and of course, the browser is guaranteed to already be logged into an account that isn't the one you are trying to authorise and the Heroku auth flow kind of sucks. |
The flow to change account has been broken since I upgraded Heroku cli to the version that uses browser to login. Really annoying and painful. Please get it fixed! |
+1 |
When switching accounts (via
heroku accounts:set foo
), if the user has 2-factor authentication in use they will get aInvalid credentials provided
message when they next issue a heroku command.After entering email, password and the current 2FA code the user is able to use heroku as expected.
Note that the
set
command appears to execute successfully. The error doesn't happen until you try to run any other Heroku command.The text was updated successfully, but these errors were encountered: