DEV Community

Discussion on: Implementing Authentication using JWT, Bcrypt and GraphQL Nexus

Collapse
 
pierreyveslebrun profile image
Pierre Lebrun

Really nice and helpful stuff.

Juste as a side note: in the case this runs in a web browser, it seems to be more secure to store the JWT in a cookie rather than local storage:

github.com/howtographql/howtograph...

Collapse
 
novvumio profile image
Novvum Dev Team

Thanks Pierre! We'll keep it in mind :)