Monday, November 27, 2017

Re: django-allauth facebook doesn't collect more information other than "name" and "id"

hello 

i have the same problem but for the google.

this is my settings:
SOCIALACCOUNT_PROVIDERS = { 'google':
                             { 'SCOPE': ['email',
                             'https://www.googleapis.com/auth/user.birthday.read',
                             'https://www.googleapis.com/auth/user.phonenumbers.read',
                             'https://www.googleapis.com/auth/contacts',
                             'https://www.googleapis.com/auth/plus.me',
                             ],
                               'AUTH_PARAMS': { 'access_type': 'online' },
                               'FIELDS': [
                                    'birthday',
                                    'phonenumbers'
                                        ],
                             },


                          }

but i don't get phone number  and birthday in extra_data
i'm am sure google is sending them because he asked about sending phone number and birthday 
can you heop me in this?plz

my environment is
ubunto 16
python 3.5
django 1.11
django-allauth 0.34.0

On Monday, November 2, 2015 at 3:57:32 PM UTC+3:30, Saleem Jaffer wrote:
I tried adding facebook login to my application using django-allauth. Unfortunately the only fields that get captured are "name" and "id". All the other information is not captured.

This issue has already been addressed here: https://github.com/pennersr/django-allauth/issues/1061.

Supposedly, using django-allauth version 0.22 and higher should solve this. But I am using 0.23 and still the issue persists. 

Any help will be appreciated!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7a4202b7-17c8-439e-9234-0b1e61dce632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment