2016-06-17 10 views
1

Ich werde Login mit Facebook implementieren und Google django-allauth app, aber ich bin ein Fehler dh
You are not logged in: You are not logged in. Please log in and try again.Django-allauth Facebook Fehler

My Facebook App Settings 

Setting Image 1

Setting Image 2

bekommen

Was soll ich jetzt machen ??

+0

Können Sie weitere Details hinzufügen, z. ** wenn ** du den Fehler bekommst (dh wie weit du in den Login-Prozess hineinkommst - was passiert, wenn du zu '/ auth/facebook/login /' gehst) und was deine Konfiguration ist (zB Screenshots von '/ admin/socialaccount/socialapp/'mit ausgeblendeten Anmeldeinformationen. – raphv

Antwort

0

Die folgende mein Problem gelöst:

Valid Oauth redirect URI ---> set to http://localhost:8000/ 
1

ändern Umleitung URI

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

und auch dafür sorgen, SITE_ID = 1 in Einstellungen zu haben.