play-authenticate icon indicating copy to clipboard operation
play-authenticate copied to clipboard

LinkedIn auth provider is failing for me with 0.8.1-SNAPSHOT

Open Mule52 opened this issue 8 years ago • 1 comments

The LinkedIn OAuth provider is failing for me in both sample apps for play-authenticate referencing the 0.8.1-SNAPSHOT. I am no longer able to oauth authenticate with my LinkedIn account. Is anyone else having this issue? Is anyone else able to use the sample apps to login with LinkedIn?

If you are able to login, then my LinkedIn account settings are not correct. In my LinkedIn account settings, this is what I have for settings.

Default Application Permissions: r_basicprofile (enabled), all others disabled (I have tried also enabling r_emailaddress)

OAuth 2.0 Authorized Redirect URLs: http://localhost:9000/authenticate/linkedin (this works when debugging, so my break point is hit)

OAuth 1.0a Default "Accept" Redirect URL: http://localhost:9000/ Default "Cancel" Redirect URL: http://localhost:9000/

Did LinkedIn change from Oauth1 to Oauth2?

The reason I ask this is because the URL http://api.linkedin.com/v1/people/~:(id,picture-url,first-name,last-name,industry,positions,public-profile-url)?format=json (from reference.conf) fails for me - unauthorized. When I use the LinkedIn REST API console, I get the exact same response, unless I change from "No Auth" to the only auth option - OAuth2. After changing, I get back valid results.

Thanks for any help/suggestions.

Mule52 avatar Apr 25 '16 05:04 Mule52

i have th same issue, a blank page on redirection 👍 http://localhost:9000/authenticate/linkedin?oauth_token=

in log 👍

[warn] o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: lidc="b=TB24:g=582:u=1:i=1474217611:t=1474304011:s=AQGeRYU4FZMs2ykcfYq3mnYhDix8bC-P"; Expires=Mon, 19 Sep 2016 16:53:31 GMT; domain=.linkedin.com; Path=/". Invalid 'expires' attribute: Mon, 19 Sep 2016 16:53:31 GMT [debug] application - Returned with URL: '/authenticate/linkedin?oauth_token=&oauth_verifier=' [warn] o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: lidc="b=TB24:g=582:u=1:i=1474217613:t=1474304013:s=AQG5s_AHP-RRVx494tjLrG8tz8fDXyKk"; Expires=Mon, 19 Sep 2016 16:53:33 GMT; domain=.linkedin.com; Path=/". Invalid 'expires' attribute: Mon, 19 Sep 2016 16:53:33 GMT

leccyril avatar Sep 18 '16 16:09 leccyril