After finishing a comprehensive guide, I am now working on retrieving user details using a server component. However, even though the browser's cookie is there, it doesn't seem to be showing up in the request.
I decided to customize my profile page and convert it into a server component. However, after refreshing the page to start the fetch request, the token cookie is nowhere to be found. To confirm this, I included the following lines of code within the route handler:
const token = request.cookies.get("token")?.value || "";
console.log(token, "token");