DEV Community

Discussion on: How do you authenticate your users?

 
artis3n profile image
Ari Kalfus • Edited

I'll have to look at how Adonis's library is implemented.

I would shy away from putting the whole user record into the JWT cookie in the future! I'll actually expand on that exact use case in a follow-up, but for now this is a nice article: cryto.net/~joepie91/blog/2016/06/1....