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

No expires in extra_data for linkedin #666

Closed
skarap opened this issue Jul 3, 2015 · 3 comments
Closed

No expires in extra_data for linkedin #666

skarap opened this issue Jul 3, 2015 · 3 comments

Comments

@skarap
Copy link

skarap commented Jul 3, 2015

Is there a particular reason expires data is not stored for linkedin?
The linkedin doc states it's returned as "expires_in" https://developer.linkedin.com/docs/oauth2 when exchanging the auth code for a request token.

@kaflesudip
Copy link

I am experiencing the same issue. Any reason for that?

@kaflesudip
Copy link

Found out a solution for this. You need to add expires_in to the list of extra_data. Example:

SOCIAL_AUTH_LINKEDIN_OAUTH2_EXTRA_DATA = [
    ('id', 'id'),
    ('firstName', 'first_name'),
    ('lastName', 'last_name'),
    ('emailAddress', 'email_address'),
    ("expires_in", "expires_in")
]

@omab
Copy link
Owner

omab commented Dec 27, 2016

@omab omab closed this as completed Dec 27, 2016
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

3 participants