linkedin icon indicating copy to clipboard operation
linkedin copied to clipboard

Use /authenticate instead of /authorize

Open hsukenooi opened this issue 10 years ago • 5 comments

I like /authenticate better because it'll automatically log people in who meet the criteria (below) rather than taking them to the Linkedin login dialog and asking for their credentials. That's only necessary the first time.

Taken from Linkedin's Blog Post: https://developer.linkedin.com/blog/oauth-now-authentication

This 'authenticate' endpoint functions identically to the authorization endpoint except for one scenario. If the following are all true:

  1. The current user is logged into LinkedIn.
  2. The current user has already granted an access token to the requesting application.
  3. The access token has not expired.

Then we will automatically (and immediately) redirect to the callback URL you specify, without interruption. This provides a great user experience - just a one click login! If any of the above conditions are not true, the member will see the normal authorization flow.

hsukenooi avatar Apr 09 '14 00:04 hsukenooi

I do too.

I have a branch that is refactoring the authentication workflow a bit since it's pretty outdated. So stay tuned

hexgnu avatar May 19 '14 15:05 hexgnu

Great. Looking forward to it!

hsukenooi avatar May 19 '14 16:05 hsukenooi

Has this been implemented?

ghost avatar Sep 10 '14 12:09 ghost

What about it ?

lcezermf avatar Sep 15 '16 19:09 lcezermf

Hey All,

I don't actively maintain this project.

If you want to submit a Pull Request I can take a look or if someone wants to volunteer they can take over maintenance of this gem.

hexgnu avatar Sep 15 '16 20:09 hexgnu