Django-allauth Facebook 错误
Django-allauth Facebook error
我打算使用 facebook 和 google 使用 django-allauth 应用程序实现登录,但我遇到一个错误,即
You are not logged in: You are not logged in. Please log in and try again.
My Facebook App Settings
我现在该怎么办??
以下解决了我的问题:
Valid Oauth redirect URI ---> set to http://localhost:8000/
将您的重定向 URI 更改为
http://localhost:8000/accounts/facebook/login/callback/
并确保在设置中设置 SITE_ID = 1。
我打算使用 facebook 和 google 使用 django-allauth 应用程序实现登录,但我遇到一个错误,即
You are not logged in: You are not logged in. Please log in and try again.
My Facebook App Settings
我现在该怎么办??
以下解决了我的问题:
Valid Oauth redirect URI ---> set to http://localhost:8000/
将您的重定向 URI 更改为
http://localhost:8000/accounts/facebook/login/callback/
并确保在设置中设置 SITE_ID = 1。