How to store a jwt in a cookie with httponly in Adonisjs?


#1

I want to put the jwt inside a session id which is stored in a cookie.How can be done ?


#2

Why do you want to mix session and JWT based authentications? IMHO, you are complicating things.


#3

Please read this article https://dev.to/rdegges/please-stop-using-local-storage-1i04