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

Passes OAuth parameters as query parameters when getting access token #43

Closed
wants to merge 1 commit into from

Conversation

amarkbo
Copy link

@amarkbo amarkbo commented Feb 24, 2014

This resolves an ongoing issue with the LinkedIn API where tokens were not functioning immediately after they were acquired. See: http://developer.linkedin.com/forum/unauthorized-invalid-or-expired-token-immediately-after-receiving-oauth2-token

This also is consistent with the LinkedIn documentation: https://developer.linkedin.com/documents/authentication

This resolves an ongoing issue with the LinkedIn API where tokens were
not functioning immediately after they were acquired.

See:
http://developer.linkedin.com/forum/unauthorized-invalid-or-expired-token-immediately-after-receiving-oauth2-token
@ozgur
Copy link
Owner

ozgur commented May 12, 2014

Hi,

I don't think the problem is in the client side. According to Lee Fu, LinkedIn Developer responsible for the API, the problem is due to the latency between servers after obtaining the access token. He is suggesting the clients to put a slight delay after obtaining the access token.

https://developer.linkedin.com/comment/31320#comment-31320

@amarkbo
Copy link
Author

amarkbo commented May 12, 2014

I see – anyways, this fixed the issue I was having, and seemed consistent with the documentation.

@ozgur ozgur closed this May 27, 2014
@shohoku11wrj
Copy link

To get an AccessToken from LinkedIn by exchanging AuthCode, a GET request is preferred to POST request if you want the token being active immediately.

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.

3 participants