Google Chrome is not deleting expired cookies
I’m building a NextJS website and I’m storing user tokens in cookies. When the cookie expiry date is hit it should be deleted automatically and the middleware is checking for the refresh token and update user session. Before, everything was working fine, but now Chrome is not deleting the expired tokens anymore. They hang on the website even though devtools clearly shows they are expired. Any idea why this might happen?
Google Chrome is not deleting expired cookies
I’m building a NextJS website and I’m storing user tokens in cookies. When the cookie expiry date is hit it should be deleted automatically and the middleware is checking for the refresh token and update user session. Before, everything was working fine, but now Chrome is not deleting the expired tokens anymore. They hang on the website even though devtools clearly shows they are expired. Any idea why this might happen?