0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

heroku login --interactiveでHerokuにログインできないとき。

Posted at

タイトルのコードでログインしようとすると

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.

お前のアカウントはMFAを使ってるからメールアドレスとパスワードだけじゃログイン出来んよ
認証アプリ使ってね

ってことみたいですね。
確かに私はそのようにログインしています。

なので

heroku login

とすると、

heroku: Press any key to open up the browser to login or q to exit:

とブラウザ経由でログインができるようになります。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?