How to set cookies when signing in from server?
I'm using Hono+TRPC for backend (running on port:3000) and react router v7 framework for client (running on port:5173).
This is what the sign-in procedure looks like:
It validates the credentials and says sign-in successful, but technically i cant sign in as the cookies are not set.
how do i set the cookies for each endpoint.
This is what the sign-in procedure looks like:
It validates the credentials and says sign-in successful, but technically i cant sign in as the cookies are not set.
how do i set the cookies for each endpoint.