Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.49 kb

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
Jump to Line
Something went wrong with that request. Please try again.