DEV Community

Discussion on: React Authentication - Protecting and Accessing Routes/Endpoints

Collapse
 
kosm profile image
Kos-M

Nice post ,
i have a question ,
trying to serve a react website with express ,
build react and serve static files to / endpoint from express.
Can i set / get remove coockie from express codebase?
I m think to remove coockie if Jwt has expired , so to force user redirected to login route from react..