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

  • @mdsajaldeowan1054
    @mdsajaldeowan10544 ай бұрын

    Thanks for the great video exactly the video I was looking for once again thank you for the informative video

  • @pepikkk10
    @pepikkk10Ай бұрын

    Thank you SO much! well explained!!!

  • @mustafa-ahmed-dev
    @mustafa-ahmed-dev Жыл бұрын

    Thank you, very good explanation

  • @bpospanov
    @bpospanov Жыл бұрын

    THANKS A LOT

  • @cuberos7430
    @cuberos743010 ай бұрын

    Amazing simple precise confortable explanation. Thanks a lot .Save my time.Keep making more amazing tutorials 💪🦾

  • @hashamkhan5121
    @hashamkhan5121 Жыл бұрын

    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

    @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

    @e.magnoneto5101

    9 ай бұрын

    hi,do you had fixed this problem? i had exactly the same thing in my project.

  • @hashamkhan5121

    @hashamkhan5121

    9 ай бұрын

    @@e.magnoneto5101 just Make sure you do the below before making login endpoint call axios.defaults.withCredentials = true

  • @koldmane392
    @koldmane39210 ай бұрын

    Thank you!

  • @ephremdemelew6218
    @ephremdemelew6218 Жыл бұрын

    great video

  • @franciscooteiza
    @franciscooteiza6 ай бұрын

    You look scared, are you okay? Are you afraid that someone will know a dark secret about you?

  • @tigrantech

    @tigrantech

    6 ай бұрын

    NestJS is scary 😱