我正在使用django-allauth,尝试通过Gmail账户登录我的网站。我已经设置好了API。
Google API
Redirect URIs: https://tutor.herokuapp.com/accounts/google/login/callback
JavaScript origins: https://tutor.herokuapp.com
但是当我点击谷歌登录链接时,出现了错误。
Error: redirect_uri_mismatch
The redirect URI in the request: http://tutor.herokuapp.com/accounts/google/login/callback/ did not match a registered redirect URI
我不确定我哪里做错了,因为Twitter和Facebook的登录都成功了。请帮助我。