microcipcip / cookie-universal

Universal cookie plugin, perfect for SSR
525 stars 39 forks source link

Can't set cookie on mac os browser #119

Closed mraiz closed 2 years ago

mraiz commented 3 years ago

on my web application, when i set the cookie, it's working fine on windows browsers, but when i access my app in mac os browsers, the cookies can't be set. what's wrong?

here how i set the cookies:

this.$cookies.set('login', loginData, { path: '/', maxAge: 60 60 24 * 7, })

mraiz commented 3 years ago

there's no error in the console

mraiz commented 3 years ago

my bad, it's because i set secure: true.

thank you before