Skip to content
New issue

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

SOCIAL_AUTH_LINKEDIN_FIELD_OAUTH2_SELECTORS Not being used to populate user creation backend #466

Closed
sshadmand opened this issue Dec 12, 2014 · 2 comments

Comments

@sshadmand
Copy link

I have set the SOCIAL_AUTH_LINKEDIN_FIELD_OAUTH2_SELECTORS field in my Django Settings. I know that it is being used becuase when I remove the field I get an error when accessing the backend. However when I use it and include the selectors I want it is not being merged into the default selectors listed.

The attached screenshot results in only the default selectors being printed to the screen:

screen shot 2014-12-12 at 3 01 17 pm

@sshadmand
Copy link
Author

FYI adding: settings.FIELD_SELECTORS = ['email-address']

to settings worked but it is not documented anywhere. Also, if SOCIAL_AUTH_LINKEDIN_FIELD_OAUTH2_SELECTORS isn't used why is it required in the first place?

@omab
Copy link
Owner

omab commented Apr 4, 2015

That's because the setting name is SOCIAL_AUTH_LINKEDIN_OAUTH2_FIELD_SELECTORS.

@omab omab closed this as completed Apr 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants