![](/img/trans.png)
[英]`redirect_uri_mismatch` error when using Google as the signin provider
[英]Firebase CLI redirect_uri_mismatch on login
无法登录到 firebase CLI。
firebase login
在浏览器中生成如下错误提示:
The redirect URI in the request, http://localhost:9005, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/...?project=... to update the authorized redirect URIs.
意见:
http://localhost:9005和每个可能的变体,包括尾部斜杠和 https 协议都列在 web oauth 客户端下
?project=xxx
指向错误的项目 ID
firebase login:ci --interactive
和firebase login --reauth
产生完全相同的结果。
github 问题被忽略。 我真的很想使用云 function 功能
解决方案是改用以下命令:
firebase login --no-localhost
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.