Kublick
Explore posts from serversBABetter Auth
•Created by Kublick on 4/15/2025 in #help
Tanstack Start how to handle session cookie
First the stack, im using Tanstack Start, Hono and Better-Auth
The issue is when I hard reload or enter the URL manually, the cookie will not be read..
If its by client navigation it works correctly...
In order to have the cookie in the authenticated route i did the following function
This way even if I hard reload or enter manually the session will be returned
This is working as intended but now when im on a nested route inside the authenticated route, the issue persist.
On server I have reactStartCoookies as suggested in the docs and last item of the array...
For data fetching im using Hono RPC
How I deal with this scenario?
3 replies
PPrisma
•Created by Kublick on 10/16/2024 in #help-and-questions
Build error on enum type
Hello when building my docker image I'm getting an error at build time
The LeaveType is an enum for postgress, Im using it on the seed file and on local it builds correctly (next build) .. but as far I try to generate a docker image for deploying it gets stuck
2 replies