oauth2-linkedin
Serverside Oauth2 LinkedIn Signin using Node.js
Last updated 2 years ago by rudijs .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install oauth2-linkedin 
SYNC missed versions from official npm registry.

oauth2-linkedin

Build Status Coverage Status Dependencies Status

Serverside Oauth2 LinkedIn Signin using Node.js

Overview

Node.js oauth2 Facebook sign in module.

If you want or need to roll-your-own Facebook login this module with help with the user sign in and get profile.

Once you have the user's profile, in JSON format, saving it to your database of choice is then up to you.

Requirements

Needs node v12.x or > iojs-v1.x

This module uses Promises and Generators. The author's intended case use is within KoaJS.

API

signInUrl => Returns a Facebook Oauth sign in URL to send the user to.

getAccessToken => With the code returned from signInUrl, request a Facebook API access token.

getProfile => With the access token returned from getAccessToken, request the user profile.

Usage

Setup/Configure your LinkedIn App

Use signInUrl in your routes to send the user to sign in with facebook.com.

Use getAccessToken and getProfile in your controller to retrieve the user profile from facebook's API.

Also review the test code, *.spec.ts, files in the github.com source repo.

Code review, suggestions and pull requests are welcome - thanks.

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |