Accessing cookies set by API in Astro frontmatter
I have an external API that we use for login. It sets a cookie on the client browser. The Astro frontmatter however does not see that cookie, as it is unauthorized when trying to access routes that are blocked by login status. But the client can access them fine, making me think its Astro not having the cookie. Any ideas how we can fix this or get around it? I have a feeling a similar type of thing would happen in Next on server components.
1 Reply
Did you manage to solve this issue?