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


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


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


Please read this article