Unsolved
2 Intern
•
28 Posts
•
2 Points
0
88
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?
0 events found
No Events found!


DELL-Joey C
Moderator
•
4.2K Posts
•
20.9K Points
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
•
2 Points
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.