Django-allauth Facebook错误

问题描述 投票:1回答:2

我将使用django-allauth应用程序实现登录facebook和google,但我收到一个错误,即 You are not logged in: You are not logged in. Please log in and try again.

My Facebook App Settings

Setting Image 1

Setting Image 2

我现在应该怎么做??

django facebook-graph-api django-allauth
2个回答
1
投票

将您的重定向URI更改为

http://localhost:8000/accounts/facebook/login/callback/

并确保在设置中有SITE_ID = 1。


0
投票

以下解决了我的问题:

Valid Oauth redirect URI ---> set to http://localhost:8000/
© www.soinside.com 2019 - 2024. All rights reserved.