How to setup httpOnly cookie for auth?

<@632956853122236457> On the other hand, what do you think about this? (he is also implementing in a different way to what I was implementing, jwt in cookies) each article about strapi i found is to use jwt in cookies, would this be something to go for?