NestJS hybrid auth is a dynamic nestjs module or assembling of individual modules written over passport authentication library which enables you to integrate social login in your nestjs application for various identity providers such as Facebook, Google, Instagram and many more.
The library requires you to install few peer dependencies
npm install @nestjs/passport passport reflect-metadata --save
yarn add @nestjs/passport passport reflect-metadata
You can install nestjs hybrid auth module for just a single social identity provider or all the supported providers. Both of them are identical. I would recommend if you have lots of social logins to integrate, just use the all-in-one variant.
yarn add @nestjs-hybrid-auth/all
npm install @nestjs-hybrid-auth/all --save
yarn add @nestjs-hybrid-auth/<provider-name>
npm install @nestjs-hybrid-auth/<provider-name> --save
provider-name can be