datatlas-erasme / datatlas

🌍 Create and share shiny maps of your territory ✨
https://dev-datatlas.datagora.erasme.org
GNU General Public License v3.0
1 stars 0 forks source link

Implement a better authentication strategy #143

Open lutangar opened 1 year ago

lutangar commented 1 year ago

About #26

Storing an access token in the local storage isn't secured :

see https://stackoverflow.com/questions/27067251/where-to-store-jwt-in-browser-how-to-protect-against-csrf

(add link to "remember me")

aangelot commented 1 year ago

not a priority until the experiment is launched

lutangar commented 1 year ago

Sure, could you choose a priority flag then ?

lutangar commented 1 year ago

https://tigran.tech/nestjs-cookie-based-jwt-authentication/ https://codevoweb.com/react-redux-toolkit-jwt-authentication-and-authorization/