โœ… Day 131 of #100DaysOfCode Completed authentication for the social media app using JSON Web Tokens, with refresh tokens stored in cookies and Redis and input validation using Zod .๐Ÿ˜ Also tested everything using Postman #learninpublic #buildinpublic

Nov 8, 2025 ยท 2:58 PM UTC

6
3
135
Replying to @Pratikwebtech
Consistently ๐Ÿ”ฅ ๐Ÿ’ช๐Ÿป
1
1
Thank u ๐Ÿ˜
1
Replying to @Pratikwebtech
Good progress brother ๐Ÿ‘. Just one thing that you don't need to set refreshToken on both register and login cuz on frontend after registering user you will redirect user to login page and after authenticating the user, only then you will give access and refresh tokens to user
1
1
Oh okay ๐Ÿ‘ thank you
Replying to @Pratikwebtech
That's great bro ๐Ÿ‘
1
1
Thank u ๐Ÿ˜
Replying to @Pratikwebtech
Awesome progress! JWT + Redis + Zod is a solid combo ๐Ÿ‘ Keep it up!
1
1
Thank u ๐Ÿ˜๐Ÿ™‚โ€โ†•๏ธ
1
1
Replying to @Pratikwebtech
Great, what social media project u making ?
Replying to @Pratikwebtech
Let's connect