Call authClient methods from server actions

Hi,

I want to move the auth methods to server action. Everything works OK (like user is created in DB) but the cookie is not set, even if I am using the nextCookie plugin.

Is this possible with better-auth?

Thanks
Was this page helpful?