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 :
STARTUP_ALLOW_INCLUDE_CREDENTIALS
startup option as demonstrated in this example