Passportjs basic working example
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
app.js
package.json

README.md

passportjs-express-example

Passportjs basic working example using Twitter oauth as I felt the documentation at http://passportjs.org/ was too scattered to be able to easily hit the ground running.

Running the app with your credentials

git clone https://github.com/kulor/passportjs-express-example.git
cd passportjs-express-example
npm install
TWITTER_CONSUMER_KEY=xxx TWITTER_CONSUMER_SECRET=xxx node app.js