Sessions y Authentication
Véase la sección Cookies y Autenticación en estos apuntes
OAuth
- Introducción a OAuth (Apuntes del profesor)
Passport
Introducción
- Passport is authentication middleware for Node.js.
- Extremely flexible and modular, Passport can be unobtrusively dropped in to any Express-based web application.
- A comprehensive set of strategies support authentication using
- a username and password,
- Facebook,
- Twitter,
- GitHub,
- and more.
Tutoriales
- Example of how to use Express 4.x and Passport to authenticate users using GitHub
- GitHub repo demonstrating how to use Express 4.x and Passport to authenticate users using Facebook
- Example of how to use Express 4.x and Passport for authentication with username and password
- Easy Node Authentication: Setup and Local
- Authenticating Node.js Applications With Passport
Notas sobre como Configurar una WebApp en Facebook
- Facebook App Development Guide
StackOverflow: How to Test Facebook Connect Locally
Facebook → Settings → Basic:
write "localhost" in the "App Domains" field then click on "+Add Platform" choose "Web Site".
After that, in the "Site Url" field write your localhost url (e.g.:
http://localhost:3000/login/facebook/return
). This will allow you to test your facebook plugins locally.
- StackOverflow: Facebook Site URL?