Authentication failure in Heroku CLI after password change

yoavmatchulsky picture yoavmatchulsky · Apr 9, 2014 · Viewed 10.5k times · Source

After a password change on heroku's website, I can't access the heroku api.

When I do heroku login, I get Authentication successful, even though it shouldn't because the password has changed. It doesn't even ask for my email or password, like it should!

If I try heroku apps (or any other application related command), I get Authentication failure.

If I try heroku status, it works.

I don't have any plugins installed.

Logs:

$ heroku version
heroku-gem/3.6.0 (i686-linux) ruby/2.1.0
$ heroku logout
Local credentials cleared.
$ heroku login
Authentication successful.
$ heroku apps
Authentication failure
$ heroku plugins
You have no installed plugins.

I'll appreciate any help or ideas I can get. I already opened a ticket and waiting for the Heroku Support to get back to me.

Thanks

Answer

Jared Beck picture Jared Beck · Apr 14, 2014

After a password change on heroku's website, I can't access the heroku api.

Are you using the heroku-accounts plugin? If so, try uninstalling it.

heroku plugins:uninstall heroku-accounts
rm -r ~/.heroku/accounts
heroku logout
heroku login