繁体   English   中英

React-app Google OAuth2.0 错误400: redirect_uri_mismatch

[英]React-app Google OAuth2 .0 Error 400: redirect_uri_mismatch

谷歌 OAuth2 错误 400

我最初在 Google Developer Console 中将 Authorized URI 设置为“http://localhost:3000/”,但它给出了如上所述的错误。

我尝试将其替换为“http://localhost:3000/login/google/return”作为错误图像,但这样做并没有成功登录,而是再次重定向到相同的登录页面。

请帮助我。

Go 到你的 OAuth 2.0 客户端旁边的谷歌云平台,并将 http://localhost 添加到 JS 源中

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM