Does crossSubDomainCookies not work on localhost?

So currently i have a setup where my login is on localhost:5173/login. here i get my cookie
when i go to tenant.localhost:5173/admin i dont have the cookie
the domain says localhost even tho its supposed to say .localhost from my understanding?

setup:
advanced: {
  crossSubDomainCookies: {
  enabled: true,
  domain: '.localhost',
  },
defaultCookieAttributes: {
  secure: true,
  httpOnly: true,
  sameSite: 'none',
  partitioned: true,
  },
},


am i missing something or might this be a bug because domain expects a "real domain"?
Was this page helpful?