Authclient SSR
I'm very confused, can you help me?
I have a Hono backend application and I use nextjs for frontend purposes. I query the session in SSR with authClient.getSession. I solved the issue of the session not coming without adding headers to the fetchOptions section. However, when I publish it, the SSR session query that works locally stops working. What could be the potential cause?
I have a Hono backend application and I use nextjs for frontend purposes. I query the session in SSR with authClient.getSession. I solved the issue of the session not coming without adding headers to the fetchOptions section. However, when I publish it, the SSR session query that works locally stops working. What could be the potential cause?