我正在使用 codio.com 。从那里我使用 ubuntu 终端登录 Heroku,但它给了我以下错误。我也阅读了帮助页面。它说使用 MFA 您必须使用浏览器进行登录。但问题是浏览器没有从 Codio 平台打开。我被困在这一点上。请帮忙 。
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
工作:):只需粘贴 API 密钥代替密码。
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$