Need help for my Next.js Frontend + Hono Backend

I am implementing a Next.js frontend and a Hono BetterAuth backend server. In my Next.js frontend, I will use the authClient.signIn.email() function in client component. However, after the signin request is made, the authClient does not automatically store the session data. What is the appropriate implementation for this stack?
Solution:
Yes. But it has been solved by configuring the CORS domain properly in Hono. Thanks!
Jump to solution
2 Replies
Ping
Ping5mo ago
Are you saying it's not storing the cookies?
Solution
Demaciaboyy
Demaciaboyy5mo ago
Yes. But it has been solved by configuring the CORS domain properly in Hono. Thanks!

Did you find this page helpful?