joscha / play-authenticate

An authentication plugin for Play Framework 2.x (Java)
http://joscha.github.com/play-authenticate/
Other
807 stars 367 forks source link

Linkedin error connection #314

Open leccyril opened 7 years ago

leccyril commented 7 years ago

hi i have the same issue

https://github.com/joscha/play-authenticate/issues/284

i see it is fix on 0.7.1 but not in version 8 could you do something please ?

[warn] o.a.h.c.p.ResponseProcessCookies - Invalid cookie header: "Set-Cookie: lidc="b=TB24:g=582:u=1:i=1474213113:t=1474299513:s=AQH9VjCPPjsmfzkkse_ibLkZ4MW6B7yc"; Expires=Mon, 19 Sep 2016 15:38:33 GMT; domain=.linkedin.com; Path=/". Invalid 'expires' attribute: Mon, 19 Sep 2016 15:38:33 GMT [debug] application - Returned with URL: '/authenticate/linkedin?oauth_token=78--b88f1449-9ea4-4663-a211-4ffe7d27da54&oauth_verifier=94467'

joscha commented 7 years ago

@leccyril - please open a PR

leccyril commented 7 years ago

hi,

thank you , PR ? i have not fix the issue i have the same way of issue but i check the modification for r_basic is ok but i does'nt work for several persons... could you try in loca with api play-authenticage-usage ? i don't know where is the problem... i open PR for ask a fix ?

leccyril commented 7 years ago

in fact when we try to sign with linkedin we arrive on linkedin page ask if we authorize to allow application to access data when click on ok we are redirected on this url 👍

http://localhost:9000/authenticate/linkedin?oauth_token=78--e203c3d2-499a-4157-9d70-c6c6&oauth_verifier=73159

here blank page and this log 👍

[debug] application - Returned with URL: '/authenticate/linkedin' [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=78--e203c3d2-499a-4157-9d70-c6c6f&oauth_verifier=73159'

thank you

leccyril commented 7 years ago

version 0.8.1

play : 2.5.7

i don't know what i have to do to open PR ?