Next.js Discord

Discord Forum

Is there any way to get a HttpOnly cookie in server-side nextjs?

Unanswered
Asian black bear posted this in #help-forum
Open in Discord
Asian black bearOP
I'm creating a dashboard and I want to manage access authorization using server-side, but my session cookie is returned from an API (nestjs) and it is http-only. I can modify the cookie to be not http-only but before it I want to make sure there is no way to get it from NextJS server-side

1 Reply

Tonkinese
Did you manage to get any luck on this?