Closed yevyevyev closed 3 years ago
Hmm, maybe it is because I have sign in flow from different parts of my application so I'm setting the cookie path explicitly as global, that should do the trick nookies.set(null, 'token', token, { path: '/' });
Thanks, @tapkain - Adding a fixed path attribute to the cookie solved the issue of multiplying cookies for me too 🙌
If someone submits this change as a PR I'll accept it.
Why is there an error like this to begin with ? Is that because of the nookies package?
Fixed by #11, thanks @tapkain @wRWebDev!
I've also fixed the blog post.
Hi, I've got again duplicated tokens, even with the recent fixes. Cannot attach steps to reproduce, but what I was doing is login in and out from time to time and then somehow I've got those duplicates. Attached screenshot for more clarity.
https://prnt.sc/vufsay