kousik / simple-linkedinphp

Automatically exported from code.google.com/p/simple-linkedinphp
0 stars 0 forks source link

Add authorization url to linkedin endpoints #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Linkedin provides an authorization endpoint that behaves a little differently 
than the auth endpoint. It will always display a linked.com page that asks the 
user to confirm authorization.

Clients should be able to use this too, simply need to add the line:
const _URL_AUTHORIZE               = 
'https://www.linkedin.com/uas/oauth/authorize?oauth_token=';

under the linkedin API Endpoints

Original issue reported on code.google.com by os...@oscarm.org on 2 Dec 2011 at 7:51

GoogleCodeExporter commented 8 years ago
Great idea, will be adding this endpoint to the next version, due out shortly.

Original comment by p...@fiftymission.net on 6 Dec 2011 at 5:44

GoogleCodeExporter commented 8 years ago
We've added an additional class constant to the newly released v3.0.0 of the 
library, _URL_AUTHORIZE that hits the authorize endpoint, requiring the user to 
manually confirm authorization. In addition, we've deprecated _URL_AUTH and 
changed it to _URL_AUTHENTICATE to better differentiate it from the new 
constant.

So now, _URL_AUTHORIZE takes you to the manual authorize end-point, while 
_URL_AUTHENTICATE will automatically authorize the user if they have a valid 
authorization for your app and are currently logged into LinkedIn.

Original comment by p...@fiftymission.net on 10 Dec 2011 at 6:13