This repository is use nestjs with passport to implementation Oauth2 with google auth
- orm: @nestjs/mongoose, mongoose
- config: @nestjs/config
- dto validator: class-validator, class-transformer
- hash : bcrypt
- authentication: @nestjs/passport passport passport-local passport-jwt @nestjs/jwt, cookie-parser
-
JWT module
-
OAuth module
setup scheam with user info
setup route with create user
setup service with create user
setup handler to verify credentials
setup decorator to extract verified data from context