I am getting the following message in Chrome:
“A cookie associated with a cross-site resource at https://api.domain1.com/ was set without the SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None
and Secure
.”
My set up is as follows
The API is hosted on a different domain than the VueJS client.
Here is the config on the ServiceStack side:
public override void Configure(Container container)
{SetConfig(new HostConfig { UseSameSiteCookies = false, UseSecureCookies = true, DebugMode = AppSettings.Get("DebugMode", false), UseCamelCase = true }); }
Please let me know how I can serve SameSite=None
and Secure
cookies?
Many thanks for a great product.
Mark