MananGandhi1810 / express-auth-template

A simple authentication template for Express.js servers
MIT License
2 stars 0 forks source link

Consider moving to typescript and using Zod for input validation, will make the code much cleaner #8

Open rushabhhere opened 3 months ago

rushabhhere commented 3 months ago

This video is superb to learn about Zod, TypeScript and any other auth best practices you might be missing: https://www.youtube.com/watch?v=qylGaki0JhY

However, you don't need to use assymetric encryption (RS256 algorithm for jwt signing) as he has done for your use case where the auth system is focused towards one app.

MananGandhi1810 commented 3 months ago

Will check it out