Unsolved
1 Rookie
•
25 Posts
0
42
September 27th, 2025 13:06
How can I secure REST APIs using JWT authentication in Node.js and Express?
I’m building an Express API with user authentication. I plan to use JWT for token-based security but I’m unsure about token storage, refresh tokens, and best practices. Can someone guide me?
No Events found!



DELL-Joey C
Moderator
•
4K Posts
0
September 28th, 2025 23:18
Hi,
In what product that you would like to build that with? You are posting on Networking board, I assume you're looking into the switches?
Or are you referring in general?
okpromocode.fr
1 Rookie
•
1 Message
0
September 30th, 2025 05:07
Try storing your JWTs in HTTP-only cookies, use short-lived access tokens with refresh tokens to maintain sessions securely, and always validate tokens on incoming requests in your Express API.