Replies: 1 comment
-
|
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using django oauth but it goes to 'process_error' with no serviceErrorCode when it seems things are okay. I printed out the data which passed into process_error.
<QueryDict: {'code': ['---code_value---'], 'state': ['hS---state---Cj']}>
{'access_token': '---token---', 'expires_in': 5555555}
Btw, just paste the settings for oAuth2
SOCIAL_AUTH_LINKEDIN_OAUTH2_SCOPE = ['r_liteprofile', 'r_emailaddress']
SOCIAL_AUTH_LINKEDIN_OAUTH2_FIELD_SELECTORS = ['emailAddress']
SOCIAL_AUTH_LINKEDIN_OAUTH2_EXTRA_DATA = [
('id', 'id'),
('firstName', 'first_name'),
('lastName', 'last_name'),
('emailAddress', 'email'),
]
What's wrong here? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions