Adel Benyahia
Nov 23, 2022

--

Im using socket.io with my MERN project with a different approach.

all authentications are managed by

. express routes and JWT refresh token on the back-end

. on the front-end, tokens are only saved to memory and cookies (with https only)

. token are not stored to localStorage

https://github.com/adelpro/MERN-auth-roles-boilerplate

--

--

Adel Benyahia

Web application developer (HTML │ CSS │ JS | ReactJS | NextJS | NestJS | MERN)