We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have settings:
SOCIAL_AUTH_LINKEDIN_SCOPE = ['r_basicprofile', 'r_emailaddress',] SOCIAL_AUTH_LINKEDIN_FIELD_SELECTORS = ['email-address', 'headline', 'industry', 'picture-url'] SOCIAL_AUTH_LINKEDIN_EXTRA_DATA = [('id', 'id'), ('first-name', 'first_name'), ('last-name', 'last_name'), ('email-address', 'email_address'), ('picture-url', 'picture_url'), ('headline', 'headline'), ('industry', 'industry'),]
The linkedIn login works fine and I see the correct permissions scope on the linkedIn login dialogue.
When I look in the database post logging in my extra_data contains:
{"first_name": null, "last_name": null, "access_token": {"oauth_token_secret": "xxxxxxxxxxx", "oauth_authorization_expires_in": "5183999", "oauth_token": "xxxxxxxxxxx", "oauth_expires_in": "5183999"}, "industry": "Computer Software", "picture_url": null, "headline": "Co-Founder at Bought By Many", "email_address": null, "id": "N_Nd_fVZMB"}
As you can see most fields are null except industry and headline.
Thanks, Guy.
The text was updated successfully, but these errors were encountered:
Check this comment #34 (comment), you are using OAuth1, but try those names anyway (see that attributes names follow camel-case format).
Sorry, something went wrong.
Camel-case works great - thanks!
No branches or pull requests
Hi,
I have settings:
SOCIAL_AUTH_LINKEDIN_SCOPE = ['r_basicprofile', 'r_emailaddress',]
SOCIAL_AUTH_LINKEDIN_FIELD_SELECTORS = ['email-address', 'headline', 'industry', 'picture-url']
SOCIAL_AUTH_LINKEDIN_EXTRA_DATA = [('id', 'id'),
('first-name', 'first_name'),
('last-name', 'last_name'),
('email-address', 'email_address'),
('picture-url', 'picture_url'),
('headline', 'headline'),
('industry', 'industry'),]
The linkedIn login works fine and I see the correct permissions scope on the linkedIn login dialogue.
When I look in the database post logging in my extra_data contains:
{"first_name": null, "last_name": null, "access_token": {"oauth_token_secret": "xxxxxxxxxxx", "oauth_authorization_expires_in": "5183999", "oauth_token": "xxxxxxxxxxx", "oauth_expires_in": "5183999"}, "industry": "Computer Software", "picture_url": null, "headline": "Co-Founder at Bought By Many", "email_address": null, "id": "N_Nd_fVZMB"}
As you can see most fields are null except industry and headline.
Thanks, Guy.
The text was updated successfully, but these errors were encountered: