Zephr User Guide

Cross-domain Cookies in JavaScript Deployments

45 views 0

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

    For further information on the standard process, see the Standard Process topic.

  • Use the optimised 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

    For further information on the optimised process, see the Optimised Process topic.