No video
Nest.js Browser Cookie based authentication with Passport JWT
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 treescale.com and 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
github.com/tig...
-----
Website: tigran.tech
Twitter: / tigranbs
Medium: / tigranbs
Github: github.com/tig...
Пікірлер: 13
Thanks for the great video exactly the video I was looking for once again thank you for the informative video
Thank you SO much! well explained!!!
Thank you, very good explanation
THANKS A LOT
Amazing simple precise confortable explanation. Thanks a lot .Save my time.Keep making more amazing tutorials 💪🦾
Thanks a lot for this wonderful lesson. Can you please help me a bit? The cookie is set in browser when i call the api directly in browser, but it is not set in browser when i make api call from my front end React app, what can be the issue? I have verified my cors police configuration. I have searched the web but still could not solve my problem. Thanks
@tigrantech
Жыл бұрын
That might be because the API doesn’t have access to the Frontend domain name. Make sure that the UI client has the “credentials” enabled for the API origin, otherwise the Frontend can’t share the cookies
@e.magnoneto5101
9 ай бұрын
hi,do you had fixed this problem? i had exactly the same thing in my project.
@hashamkhan5121
9 ай бұрын
@@e.magnoneto5101 just Make sure you do the below before making login endpoint call axios.defaults.withCredentials = true
Thank you!
great video
You look scared, are you okay? Are you afraid that someone will know a dark secret about you?
@tigrantech
6 ай бұрын
NestJS is scary 😱