• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Passport Nodejs Lightening Talk
 

Passport Nodejs Lightening Talk

on

  • 1,781 views

Installation and configuration of Passport - an authentication and session management module for NodeJS.

Installation and configuration of Passport - an authentication and session management module for NodeJS.

Statistics

Views

Total Views
1,781
Views on SlideShare
1,749
Embed Views
32

Actions

Likes
1
Downloads
1
Comments
0

4 Embeds 32

http://nodeslide.herokuapp.com 26
http://www.linkedin.com 4
http://feeds.feedburner.com 1
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Passport Nodejs Lightening Talk Passport Nodejs Lightening Talk Presentation Transcript

    • Session Management & Authentication with Node Kianosh Pourian twitter: @kianoshp blog: innovatorylife.comThursday, January 17, 13
    • Purpose • To be able to authenticate users through: • login and password • third party validation • twitter • facebook • linkedin • github • Manage sessionsThursday, January 17, 13
    • Options • EveryAuth • Passport • Custom made • connect-authThursday, January 17, 13
    • Passport - installation & configuration • Modules needed • passport • passport-local • Configuration • Authenticate • SessionsThursday, January 17, 13
    • Pitfalls • req.flash - https://github.com/visionmedia/express/ wiki/Migrating-from-2.x-to-3.x • connect-flash • DB for session management • Redis - http://stackoverflow.com/questions/ 12947965/nodejs-passport-js-redis-how-to- store-sessions-in-redis?lq=1 • MongoDBThursday, January 17, 13
    • Pitfalls (continued) • Order of configuration • The order that you pass things to app.use determines the order in which each middleware is given the opportunity to process a request. • place app.use(...static) at the top in order to avoid parsing and authenticating them through passport.Thursday, January 17, 13