Nest.js authentication becomes easy with Passport.js, but with a Microservice logic there is a need to support multi-domain requests usually support for a subdomains like https://treescale.com and https://app. treescale.com
This video goes over to demonstrate how to make a flexible authentication process with Browser Cookies and Nest.js JSON Web Tokens
Project Link
https://github.com/tigranbs/nestjs-co...
-----
Website: https://tigran.tech
Twitter: / tigranbs
Medium: / tigranbs
Github: https://github.com/tigranbs