I am using codio.com. From there I am using the Ubuntu terminal to log into Heroku but it's giving me the below error. I have read the help page also. It says with MFA you have to use browser for login. But the issue is, browser is not opening from Codio platform. I am stuck at this point. Please help.
codio@actor-spoon:~/workspace/helloSaas$ heroku login -i
heroku: Enter your login credentials
Email: prashantexploring@gmail.com
Password: ********
› 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.
›
› Error ID: vaas_enrolled
Working :) : Just paste API key in place of password.
codio@magic-savage:~/workspace/rottenpotatoes$ heroku login -i
› Warning: heroku update available from 7.45.0 to 7.59.2.
heroku: Enter your login credentials
Email: prashantexploring@gmail.com
Password: ************************************
Logged in as prashantexploring@gmail.com
codio@magic-savage:~/workspace/rottenpotatoes$
you can use the "API Key" as the password.