为什么 Heroku CLI 没有正确传递我的凭据?

Why isn't the Heroku CLI passing my credentials properly?

我在 Windows 上使用 Heroku toolbelt v3.27.1(撰写本文时最新版本),在 运行 heroku login 时无法登录。

我通过设置 EXCON_DEBUG=true 看到的错误是:

{\"id\":\"unauthorized\",\"error\":\"There were no credentials in your Authorization` header. Try `Authorization: Bearer <OAuth access token>` or `Authorization: Basic <base64-encoded email + \\":\\" + password>`.\"}

奇怪的是,当我故意输入错误的密码时,我没有收到同样的错误。我重新安装了,还是出现同样的错误。

我该如何解决这个问题?我找不到关于此错误的任何信息。

您可以尝试 运行 它 HEROKU_DEBUG=true 并查看有关请求的一些调试信息