I'm using ServiceStack to write a REST based service, but as part of the authentication, I need to authorize cross-domain, but cookies can't be read cross-domain, so even though my JSON POST to the authenticate service succeeds and returns the SetCookie results, it will never see that cookie as it can't see it.
Question is, is there any other way around this, maybe I can provide the same value via a request header or something?
You can pass cookies in a cross domain request if both the client and the receiver allow it. Have a look at this link here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With