1
我试图将Google身份验证添加到我的Django项目。我已经能够使用不同的Oauth客户端对象将我的项目配置为在Heroku上使用我的应用程序,但似乎无法让它在我的开发服务器上工作。谷歌OAuth投掷edirect_uri_mismatch错误
我不断收到错误:
Error: redirect_uri_mismatch
The JavaScript origin in the request, http://localhost:8000, does not match the ones authorized for the OAuth client.
来自谷歌。
我授权的Javascript的起源是:
https://localhost:8000
http://localhost:8000
我授权的重定向URI是:
https://localhost:8000
https://localhost:8000/
https://localhost
http://localhost:8000
http://localhost:8000/
http://localhost
(我尝试了所有基于相似的问题,意见,这些连击。)
任何帮助或建议将非常感谢,因为我似乎无法在API文档的任何位置找到答案。