-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
Changes to LinkedIn tutorial #332
Comments
Along with the updated links, it would seem that LinkedIn is expecting the linkedin.fetch_token(token_url, client_secret=client_secret,
authorization_response=redirect_response,
include_client_id=True) EDITAdditionally changed the requested resource to This returns the following error when run
Seems a parameter, "access_token" is appended to the url, a duplicate of the oauth2_access_token parameter. Removing the duplicate parameter, 'access_token', manually seems to do the trick. I looked around in the code and couldn't determine exactly where the url is built with two parameters. Perhaps someone with a deeper knowledge of the code base can point me in the right direction? Thanks EDITAfter playing around some more I found where the duplication occurs. Lots of the work in the module is above me so I just created a dirty work around but perhaps this is a bug someone could look into? Duplication happens inside the oauth2_session.py module oauth2_session.py module before calling Am I not understanding the process here? Or could there be a check for the token prior to executing this method? |
This has been solved with PR #397 |
Looks like LinkedIn is making some changes that probably need to result in changes to the LinkedIn tutorial:
https://developer.linkedin.com/blog/posts/2018/redirecting-oauth-uas
The text was updated successfully, but these errors were encountered: