HTTP-Only cookies not getting set in server-side
Unanswered
zhefciad posted this in #help-forum
zhefciadOP
(see first image)
So in my Django backend, I have a login endpoint that sets a cookie
and
(see second image)
My NextJS server-side triggers the login endpoint.
Here, I expect cookies to be set in my server side. But that doesn't happen. The console log doesn't show the cookies have been set even though the login request is successful. Any idea how to solve it?
So in my Django backend, I have a login endpoint that sets a cookie
and
(see second image)
My NextJS server-side triggers the login endpoint.
Here, I expect cookies to be set in my server side. But that doesn't happen. The console log doesn't show the cookies have been set even though the login request is successful. Any idea how to solve it?