If you go to didthanoskill.me and try to access cookies from the URL bar, you can clearly see “1 Cookie in use”. On document.cookie in the console, empty string is returned. I thought the cookies must be HttpOnly so I headover to Application tab in browser dev tool and there also no cookies are showing. Weird! Any idea why is
Tag: httponly
HttpOnly Cookies not found in Web Inspector
I am working on user authentication for a website built using the MERN stack and I have decided to use JWT tokens stored as HttpOnly cookies. The cookie was sent in a “Set-Cookie” field in response header when I used Postman to make the request but not in the Safari Web Inspector as shown in the image below. There are