auth0 / passport-linkedin-oauth2

Passport Strategy for LinkedIn OAuth 2.0
MIT License
119 stars 107 forks source link

How can we use this package to validate access token server side? #78

Open malik-lakhani opened 5 years ago

malik-lakhani commented 5 years ago

We are building an android mobile application. We have a LinkedIn social login. The Android SDK (app) sends the access token to Node.Js backend API.

On the server side, We want to validate the access token and fetch the basic user profile details.

I want to know that can this library supports to validate access token. I checked but it redirects me to linked in the website rather than sending success/error response.

Any help will be appreciated.