# node-auth-social

> Authentication using Passport to authenticate users locally, with Facebook, Twitter, Github and Google.

Latest version **1.0.1** (published 2015-10-27) · 0 weekly downloads

## Install

```sh
npm install node-auth-social
pnpm add node-auth-social
yarn add node-auth-social
bun add node-auth-social
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-10-27 |
| First published | 2015-10-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.6.0 |
| Dependencies | 18 |
| Known vulnerabilities | 0 (+28 in 7 direct dependencies) |
| Install scripts | no |
| Author | Shoaib Ud-Din |
| Maintainers | shoaibuddin |

## Links

- npm: https://www.npmjs.com/package/node-auth-social
- npm.io page: https://npm.io/package/node-auth-social

## Dependencies (18)

- [ejs](https://npm.io/package/ejs.md) ~0.8.5
- [github](https://npm.io/package/github.md) ^0.2.4
- [morgan](https://npm.io/package/morgan.md) ~1.0.0
- [express](https://npm.io/package/express.md) ~4.0.0
- [mongoose](https://npm.io/package/mongoose.md) ~3.8.1
- [passport](https://npm.io/package/passport.md) 0.2.2
- [body-parser](https://npm.io/package/body-parser.md) ~1.0.0
- [bcrypt-nodejs](https://npm.io/package/bcrypt-nodejs.md) latest
- [connect-flash](https://npm.io/package/connect-flash.md) ~0.1.1
- [cookie-parser](https://npm.io/package/cookie-parser.md) ~1.0.0
- [passport-local](https://npm.io/package/passport-local.md) ~0.1.6
- [express-session](https://npm.io/package/express-session.md) ~1.0.0
- [method-override](https://npm.io/package/method-override.md) ~1.0.0
- [passport-github](https://npm.io/package/passport-github.md) ^1.0.0
- [passport-twitter](https://npm.io/package/passport-twitter.md) ~1.0.2
- [passport-facebook](https://npm.io/package/passport-facebook.md) ~1.0.2
- [passport-linkedin](https://npm.io/package/passport-linkedin.md) ^1.0.0
- [passport-google-oauth](https://npm.io/package/passport-google-oauth.md) ~0.1.5

## Recent versions

- 1.0.1 (latest) — 2015-10-27
- 1.0.0 — 2015-10-27

## README

# Authentication using NodeJS, PassportJS and Mongo DB

Authentication using Passport to authenticate users locally, with Facebook, Twitter, Github, Linkedin and Google. I've fork this tutorial from Scotch.io and extend this to have Github and Linkedin passport strategy. Also make it compatible for OpenShift Redhat Nodejs deployment. 

#### Express Version

Use ExpressJS 4.0

## Instructions

1. Clone the repo: `git clone repo`
2. Install packages: `npm install`
3. Launch: `node server.js`
4. Visit in your browser at: `http://localhost:8080`

### OpenShit RedHat Deployment
1. Update config/auth.js with App client Id and Secrets 
2. [Nodejs getting started guide OpenShift RedHat](https://developers.openshift.com/en/node-js-getting-started.html)

---
_Source: https://npm.io/package/node-auth-social · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
