Strapi Nuxt3 - cookie gets deleted on page reload

Hi Guys,

I’m using strapi nuxt integration for user login. I"m able to login, and cookie gets set with no expiry time/date. When the page reloads, the cookie gets deleted. I have tried several different approaches, but no dice. The link below to git shows my attempted setup. Any ideas?

I have also tried updating strapi and nuxt with no luck.

Cheers in advance.

Please note, i have also tested the following on my middlewares.js

    {
      name: 'strapi::session',
      config: {
        rolling: true,
        renew: true,
        httpOnly: true,
        maxAge: 86400000
      },
    },