I have integrated vue-cookies into my Vue application. The code I'm using to store a cookie is as follows:
$cookies.set('authUser', authUserObj);
The object
authUserObj
contains theaccess_token
.
However, when I close and reopen the tab, I am redirected to the login page. Upon checking the cookies in the browser, I noticed they are missing. The cookies are set to expire after 1 day: