Cross-domain Cookies in JavaScript deployments
Learn how to address cross-domain cookie issues in JavaScript deployments using standard or optimized processes.
If you are using cross-domain cookies in a JavaScript deployment, the cookies cannot be set because the domain for the cookies does not match the Origin.
There are two approaches that can be used to mitigate cross-domain issues, as follows:
-
Use the standard Zephr process, which must be repeated before going live.
-
Use the optimized process, which does not need to be repeated. However, a proxy rule might need to be implemented on the server to change the Origin domain to the actual API endpoint and preserve the path used in Zephr.