Replies: 1 comment 2 replies
-
I already fixed, by adding this fetch option, why this option is not included on the docs? I mean there's fetch option in the docs but the example is only for using env |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm sending a request to my login api endpoint from to client using react query and rpc but I'm not getting the cookie from my
application
tab inchrome dev tools
but on thenetwork
tab there's acookie
from my request, but when I'm using standard fetch api with credentials: 'include' option, there's no problem at all I got the cookie from server to client, but when using rpc I can't get the cookie from server to clientInside of
network
:Inside of
application
:I already setup the (cors)
Inside of my hono server:
Here's the code on my
login
api endpoint:Here's the code how I use the rpc and react query:
P.S: I already tried my
hono
server onpostman
and there's no problem at all I can get the cookie and verify to jwt, but when it comes on my client I can't verify the cookie.Beta Was this translation helpful? Give feedback.
All reactions