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

LinkedIn OAuth2 Login fails to get token, requires client_secret as parameter #43

Open
GoogleCodeExporter opened this issue Jan 29, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use OAuth2 with Linkedin Signin
2. Fails on retrieveToken ("https://www.linkedin.com/uas/oauth2/accessToken")

What is the expected output? What do you see instead?
Doesn't get OAuth token, linkedin returns this:
{"error_description":"missing required parameters, includes an invalid 
parameter value, parameter more than once. : 
client_secret","error":"invalid_request"}

What version of the product are you using? On what operating system?
Latest master.  This change introduced the problem 
https://github.com/golang/oauth2/commit/bb8496880f7e4671902be4e7251f40d971c5d535

Please provide any additional information below.
Linkedin needs to be added to the list of busted auths in 
providerAuthHeaderWorks function.  They require "client_secret" as a parameter, 
instead of taking it as basic auth header.  Please add linkedin to the list 
(https://www.linkedin.com/), or give users some way to manually add oauth2 
providers

Original issue reported on code.google.com by timothy....@zefr.com on 10 Sep 2014 at 8:32

@GoogleCodeExporter
Copy link
Author

Hi, you should go to https://github.com/golang/oauth2/issues for this issue.

Original comment by cls...@gmail.com on 11 Sep 2014 at 2:41

@GoogleCodeExporter
Copy link
Author

Ah thank you

Original comment by timothy....@zefr.com on 11 Sep 2014 at 6:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant