Sessions not working
I have Hono as my backend and Next as my frontend.
Hono and Next are on different codebases, I'm not using Hono in Next, I'm using it seperately.
These are the issues I'm facing:
Hono and Next are on different codebases, I'm not using Hono in Next, I'm using it seperately.
These are the issues I'm facing:
- When I logged in everything works as expected, however when I sign-out the session gets deleted in my database however the cookie stays and therefore I stay on the protected dashboard page
- When I add secure cookies and/or add session caching, on login the session gets created in the backend but no cookie gets generated