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

Support for LinkedIn with OAuth2 authentication #402

Closed
wants to merge 6 commits into from

Conversation

ludovicc
Copy link

Added support for LinkedIn and its OAuth2 implementation.

LinkedIn has its own subtle interpretation of the OAuth2 standard, and requires a few tricks to work.
It uses POST methods and requires all parameters to be sent as body parameters, and ignores query parameters.
It requires some Http headers like Accept to be defined, so to introduce those parameters I used RequestTuner and changed the signature of OAuthService to accept a variable list of RequestTuners. That new signature should change nothing to users of OAuthService interface, but it will break implementors of that interface or of its concrete classes. Hopefully, that means not many people.

Ludovic

@JasonDepp174537699
Copy link

@ludovicc hi friend, i got stuck on this linkedin oauth2 stuff. Long time ago , i used this : Token accessToken = new Token(token, secret, rawResponse); ,but now the things have all changed, we dont have secret or rawResponse anymore , would you please help me on this?

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

Successfully merging this pull request may close these issues.

None yet

3 participants