Authentification with Node.js



Resources
Principle

IDentity-as-a-Service -IDaaS- relies on an external infrastructure to manage users and their accesses, permissions…

Convenience prompts developers to use the Open Authorization -OAuth- protocol to reuse Facebook, Google, Twitter… users' accounts and associated authentication facilities. In this scope, Passport is the appropriate library for authentication based on OAuth in particular.

Tutorial

TypeScript code in Passport.Node.js.ts.zip zipped project is the use of Google IDaaS infrastructure . Code is the TypeScript adaptation of JavaScript tutorial .

Unzip, compile and execute Passport.Node.js.ts.zip zipped project. Next, access running app. from http://localhost:1963.