Currently, as I dive into learning Nuxt.js, I have successfully assigned some data to localStorage
using localStorage.getItem()
and localStorage.setItem()
. The process worked quite smoothly initially until I encountered a warning message indicating:
Cookie “myCookieName” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute.
Upon conducting further research and gaining insights from this resource, I am considering switching the setting to strict
to address this issue. However, the challenge lies in knowing where exactly to make this adjustment.
If anyone has any valuable tips or suggestions on this matter, they would be immensely appreciated. Thank you in advance!