You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the cookieOptions seems to be ignored in the stores that use cookies. I still get cookies with Secure:false and SameSite:"None" for those stores.
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: