cross subdomain cookies issue

this is part of my config:
export const auth = betterAuth({
    database: prismaAdapter(prisma, {
        provider: "postgresql",
    }),
    emailAndPassword: {
        enabled: true,
    },
    advanced: {
      crossSubDomainCookies: {
        enabled: true,
        domain: ".sendshift.email",
      },
      defaultCookieAttributes: {
        secure: true,
        httpOnly: true,
        sameSite: "none",
        partitioned: true,
      },
    },
  hooks: {

my api is on api.sendshift.email and my frontend is on sendshift.email. I still get (only with betterauth no other endpoints)
"
Was this page helpful?