https://github.com/connor11528/express-auth
node.js authentication
https://github.com/connor11528/express-auth
Last synced: 11 months ago
JSON representation
node.js authentication
- Host: GitHub
- URL: https://github.com/connor11528/express-auth
- Owner: connor11528
- Created: 2013-12-17T14:44:43.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-10-21T17:19:20.000Z (about 10 years ago)
- Last Synced: 2025-01-05T13:25:20.416Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://express-auth.herokuapp.com/
- Size: 8.21 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Authentication with node.js
===========
Login with email/password, facebook and spotify. Link and unlink accounts. Login with multiple providers to the same account.
Technologies used: mongodb, mongoose, express, ejs, passportjs
# Getting started
**config/auth.js** should look something like this:
```
module.exports ={
"facebookAuth": {
"clientID": client_id
"clientSecret": secret_id
"callbackURL": "http://localhost:3000/auth/facebook/callback"
},
"spotifyAuth": {
"clientID": client_id,
"clientSecret": secret_id,
"callbackURL": "http://localhost:3000/auth/spotify/callback"
}
};
```
Install dependencies and run server:
```
$ npm install
$ node server
```