Global cookieOptions
are not applied in Nuxt 3
#291
Labels
🔍️ pending triage
This issue needs to be looked into
cookieOptions
are not applied in Nuxt 3
#291
Describe the bug
When using the exact config from the docs https://prazdevs.github.io/pinia-plugin-persistedstate/frameworks/nuxt-3.html#global-options , where stores use localStorage by default, but some stores are explicitly set to use
persist: { storage: persistedState.cookies },
, then thecookieOptions
seems to be ignored in the stores that use cookies. I still get cookies withSecure:false
andSameSite:"None"
for those stores.Reproduction
https://stackblitz.com/edit/github-5b43sb
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: