Better Auth + Hono + Nextjs ( JStack ) Cookies

I've configured Everything for better auth to work with jstack but the Cookies dosen't set on login.
As the images showing the cookies are empty. I've logged in using Magic Link.How can I fix the issues with the cookies

import { createAuthClient } from "better-auth/react";
import { magicLinkClient, adminClient } from "better-auth/client/plugins";
import { nextCookies } from "better-auth/next-js";

export const authClient = createAuthClient({
    plugins: [adminClient(), magicLinkClient(), nextCookies()],
    baseURL: `${process.env.NEXT_PUBLIC_SERVER_URL ? process.env.NEXT_PUBLIC_SERVER_URL : "http://127.0.0.1:8787"}`
});


I'm using the login
const { error } = await authClient.signIn.magicLink({
                email,
                callbackURL
            });
like this
image.png
image.png
image.png
Was this page helpful?