12 Replies
Solution
Also highly recommend steering clear of the JWT approach
Sessions are the way and have always been, JWT's aren't meant for the web
I'm using jwt with Refresh token tho
i have multiple instance of hono that get combined at index , so do i have to pass Variable to every hono instance
create a function to generate with types
where you would use
new Hono
you use baseHono()ok, perfect. thank you.
one more thing i could add protection middleware and call it protectedHono right
you can change for whatever you want from there
idk the exact syntax but you get the point
i edited the message for clarity sake
Doesn't change anything
this isnt the point of the question
Right, it's advice
My point is the same