Django-allauth redirected to connections
- by camara90100
I'm using django-allauth to signup users with Facebook, and I'm setting the
ACCOUNT_EMAIL_REQUIRED to True so when a user doesn't have email saved on his account I get redirected to the allauth/templates/socialaccount/Signup.html and when I use a test user to enter a valid email, I get redirect to "connections.html" which then asks me to choose one of the social accounts and remove it. and the form action method is set to 'connections url' so it becomes an infinite loop.
anyone knows what's wrong?
here's my settings
SOCIALACCOUNT_PROVIDERS = \
{ 'facebook':
{ 'SCOPE': ['email', 'publish_stream'],
# 'AUTH_PARAMS': { 'auth_type': 'reauthenticate' },
'METHOD': 'js_sdk' ,
'LOCALE_FUNC': lambda request: 'en_US'}}
ACCOUNT_EMAIL_REQUIRED =True
ACCOUNT_ADAPTER = 'profiles.adapter.MyAccountAdapter'
SOCIALACCOUNT_ADAPTER ='profiles.adapter.MySocialAccountAdapter'