omab / django-social-auth

Django social authentication made simple
https://groups.google.com/group/django-social-auth
BSD 3-Clause "New" or "Revised" License
2.65k stars 756 forks source link

AuthFailed at /complete/facebook/ issue #820

Closed vbmade2000 closed 7 years ago

vbmade2000 commented 9 years ago

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 ?