cookies in ssr mode
I am using better auth with tanstack start (as my frontend) and hono as my separate backend for now, while every thing works fine without ssr mode when i switched ssr mode it becomes difficult to get the cookie in the ssr mode with better auth, i am using the below code snippet to fetch the user session but its not getting the cookie properly
Also need to know the use of reactstartcookies as my backend is separate from the tanstackstart frontend
1 Reply
Also the thing is it works totally fine when i am on localhost and on production it won't (might be because of separate origins)