I am facing AuthFailed at /complete/facebook/ exception. I have checked app id and secret, both are correct but application still raising this exception. I tried searching but didn't find much information.
Here are my settings.py details set for django-social-auth
Hi,
I am facing AuthFailed at /complete/facebook/ exception. I have checked app id and secret, both are correct but application still raising this exception. I tried searching but didn't find much information.
Here are my settings.py details set for django-social-auth
AUTHENTICATION_BACKENDS = ( 'social_auth.backends.facebook.FacebookBackend', # For django-social-auth 'django.contrib.auth.backends.ModelBackend', ) SOCIAL_AUTH_ENABLED_BACKENDS = ('facebook',) FACEBOOK_APP_ID = 'XPZ' FACEBOOK_API_SECRET = 'PQR' FACEBOOK_EXTENDED_PERMISSIONS = ['email'] SESSION_SERIALIZER='django.contrib.sessions.serializers.PickleSerializer'
TEMPLATE_CONTEXT_PROCESSORS = ( "django.contrib.auth.context_processors.auth", "django.core.context_processors.debug", "django.core.context_processors.i18n", "django.core.context_processors.media", "django.core.context_processors.request", 'social_auth.context_processors.social_auth_by_type_backends', )
PROJECT_APPS = ( 'app', 'game', 'gameplayer', 'gamesquare', 'social_auth', )
Following are urls.py settings urlpatterns += patterns('', url(r'', include('social_auth.urls')),)
Any help ?