Dj-Corps / gwt-oauth2

Automatically exported from code.google.com/p/gwt-oauth2
Apache License 2.0
0 stars 0 forks source link

Use with LinkedIn #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi everyone,

I'm using your library to authenticate via google and it's really wonderful.
However I'm facing problems to use it with LinkedIn.

Is it possible ? If so, could you show me some saple code to correctly use it ?

Thank you

François

Original issue reported on code.google.com by francois...@gmail.com on 19 Jun 2013 at 9:38

GoogleCodeExporter commented 9 years ago
It doesn't look like LinkedIn supports the Useragent OAuth 2.0 flow, which this 
library would need to be able to support LinkedIn auth. Sorry.

Original comment by jasonhall@google.com on 19 Jun 2013 at 9:45

GoogleCodeExporter commented 9 years ago
Ok, Thanks.

Original comment by francois...@gmail.com on 19 Jun 2013 at 9:50

GoogleCodeExporter commented 9 years ago
It looks like LinkedIn supports Oauth 2.0 now, but it looks like their 
response_type=code instead of token and this seems to cause linkedin to reject 
the auth_url created by AuthRequest.

I may try refactoring some of AuthRequest to provide an auth_url with 
response_type=code or token.

Is there a difference between Useragent Oauth 2.0 flow and the oauth 2.0 flow 
used by gwt-oauth2?

Original comment by laneymi...@gmail.com on 15 Jan 2014 at 2:43