无法从命令行登录 Heroku 帐户 [英] Not able login to Heroku account from command line

查看:96
本文介绍了无法从命令行登录 Heroku 帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 codio.com .从那里我使用 ubuntu 终端登录 Heroku,但它给了我以下错误.我已阅读帮助页面 还有.它说使用 MFA 你必须使用浏览器登录.但问题是浏览器无法从 Codio 平台打开.我被困在这一点上.请帮忙.

I am using codio.com . From there I am using ubuntu terminal to log into Heroku but it's giving me below error . I have the 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

推荐答案

您可以使用API Key"作为密码.

you can use the "API Key" as the password.

这篇关于无法从命令行登录 Heroku 帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆