我最近安装了 Ngrok,以便在手机上测试我的本地主机流星应用程序。
我成功通过 ngrok 的隧道访问流星应用程序。
但是,当我尝试使用登录时,我收到此错误消息:
登录过程显示以下错误消息:
400. That’s an error.
Error: redirect_uri_mismatch
Application: AppName
You can email the developer of this application at: [email protected]
The redirect URI in the request, http://localhost:7123/_oauth/google,
does not match the ones authorized for the OAuth client.
更新授权的 JavaScript 源并将 URI 重定向到 Ngrok 转发地址没有效果。
如何正确地将 ngrok 与 Google Oauth 结合使用?
任何帮助将不胜感激
使用 ngrok 并将根 URL 更改为 ngrok 提供的 URL。
ROOT_URL=http:XXXXXXXX.ngrok.io meteor
启动流星。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)