Either I'm doing something wrong or there is a bug. I have tested with latest master and in 0.1.17.
After sucessfully created a user the extra_data field contains this:
{
"first_name": null,
"last_name": null,
"access_token": {
"oauth_token_secret": "****scramled****",
"oauth_authorization_expires_in": "5183998",
"oauth_token": "****scramled****",
"oauth_expires_in": "5183998"
},
"picture_url": null,
"email_address": null,
"id": "****scramled****"
"profile_url": null
}
I have these settings in my settings.py file:
SOCIAL_AUTH_LINKEDIN_SCOPE = ['r_basicprofile', 'r_emailaddress']
SOCIAL_AUTH_LINKEDIN_FIELD_SELECTORS = ['email-address', 'picture-url',
'public-profile-url']
SOCIAL_AUTH_LINKEDIN_EXTRA_DATA = [
('id', 'id'),
('first-name', 'first_name'),
('last-name', 'last_name'),
('email-address', 'email_address'),
('picture-url', 'picture_url'),
('public-profile-url', 'profile_url'),
]
And the SOCIAL_AUTH_PIPELINE setting contains 'social.pipeline.social_auth.load_extra_data',
Any clues of why the extra_data fields are blank? Is there something I'm missing?
Either I'm doing something wrong or there is a bug. I have tested with latest master and in 0.1.17.
After sucessfully created a user the extra_data field contains this:
I have these settings in my settings.py file:
And the
SOCIAL_AUTH_PIPELINEsetting contains'social.pipeline.social_auth.load_extra_data',Any clues of why the extra_data fields are blank? Is there something I'm missing?