IDentity-as-a-Service -IDaaS- here… 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.
TypeScript code below is the use of Google IDaaS infrastructure. Code is the TypeScript adaptation of JavaScript tutorial here… Launch app. and access it there…