lemutugi
lemutugi Verified Professional
April 11, 2023

IP Address Mismatch on signing into Heroku CLI

1 min read421 views
IP Address Mismatch on signing into Heroku CLI

If you could previously sign into the heroku command line interface with heroku login but now you get IP address mismatch error, this is how you can resolve this:

Use the commands heroku login -i  in your terminal. If you have authorization token attached to your account you will face the error:  Your account has MFA enabled; API requests using basic authentication with email and password are not » supported. Please generate an authorization token for API access.

If you have authorization token attached to your account follow these steps:

  • Navigate to  Heroku API Authorizations  and create  Heroku CLI Authorization.
  • In Authorizations click on create authorization button.
  • Add description in pop up eg.sign in with Heroku CLI.  Leave 'expire after' blank if you dont want the token to expire.
  • You will get authorization token.
  • In CLI run  heroku login -i  and enter the authoriation token when it prompts for password.
Login To Read Full Article

3 reactions

Heroku Share

0 comments

Be the first one to share your thoughts
mystore Verified Organization
Sponsored
Shop from Multiple Stores in Various Locations
Discover a wide range of products from multiple stores across different locations. Shop conveniently with MyStore and find the best deals near you!
Shop Now
eastearn Verified Organization
Sponsored
Apply for a Unicaf Scholarship
Unicaf helps students to earn quality higher education degrees through the Unicaf Scholarship Programme!