Search code examples
githerokuheroku-cli

Can't login to heroku using CLI


I try to login to heroku on Windows. Using cmd.exe

C:\Users\Komp_1\OneDrive\PHP_projects\chatbot>heroku auth:login
Enter your Heroku credentials:
Email: [email protected]
Password: **********
Enter your Heroku credentials:
Email: [email protected]
Password: **********
Enter your Heroku credentials:
Email:

It looks like a never ending loop. But when I try use a git-bash to login than:

$ heroku login
Enter your Heroku credentials:
Email: [email protected]
 !    Login is currently incompatible with git bash/Cygwin/MinGW

What can be wrong? I can't find solution.


Solution

  • Ok so probably that was problem from Heroku. Simple steps to repair this: 1. Go to heroku 2. Log out 3. Reset password 4. Go to your email and set up new password 5. Login to your heroku :-)

    PS. My password was correct and I used this same in cmd and on heroku. On heroku worked but in cmd not :-)