Example: Enable Cross-Domain with Cookies

The example below demonstrates how to configure the SDK to ask the browser to include credentials (the “Cookies” header) when connecting to a server on a different domain.

To enable cross-domain Cookies :