I am facing a problem in django-allauth .
I configured localhost:9000/admin/
with following details
socialapp .
provider: Name: Client id: App ID, or consumer key Key: Secret: etc .
I set the SITE_ID = 2 (Because I changed the default site example.com to localhost:9000)
In setting.py INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'uni_form', 'allauth', 'allauth.account', 'allauth.socialaccount', 'bootstrapform', # 'allauth.socialaccount.providers.twitter', # 'allauth.socialaccount.providers.openid', 'allauth.socialaccount.providers.facebook', ) SOCIALACCOUNT_PROVIDERS = \ { 'facebook': { 'SCOPE': ['email', 'publish_stream'], 'AUTH_PARAMS': { 'auth_type': 'reauthenticate' }, 'METHOD': 'oauth2' , 'LOCALE_FUNC': 'path.to.callable'} }
Now when I am going on url http://localhost:9000/accounts/facebook/login
I am getting Error : SocialApp matching query does not exist.
Please help me out what might i am doing wrong here .