could this be the issue? I’m running the api on `l...
# talk-kratos
b
could this be the issue? I’m running the api on
localhost:4433
and my app on
localhost:3000
p
@User no, localhost is the domain, the port does not matter when it comes to cookies. https://www.ory.sh/kratos/docs/guides/configuring-cookies You are most likely not including the cookies on the request to kratos.
Copy code
withCredentials: true
b
does that also have to be set when its not cross domain?
I did notice adding that fixed it - I just thought it was only because of cross origin
p
Copy code
withCredentials: true
should always be there on your axios configs. CORS is usually to do with the server-side
b
thx
👍 1