Hi Denis,
I am unable to resolve the CORS Issue in SP08. I have added the code similar to your's in .xsaccess file as specified below;
{
"exposed" : true,
"authentication" :null,
"force_ssl" : true,
"prevent_xsrf" : false,
"anonymous_connection" : "<Package Name.Sub Package.Sub Package >::AnonConn",
"cors" :
{
"enabled" : true,
"allowMethods":["GET"],
"allowOrigin":["10.XXX.X.XXX"],
"allowCredential":true,
"exposeHeaders": "access-control-allow-headers,access-control-allow-origin,access-control-expose-headers,authorization",
"allowHeaders":"Origin, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control",
"maxAge":"3600"
}
}
And I have also create anonuser.xssqlcc file as
{
"description" : "Anon SQL connection"
}
Please guide me on what is that I am missing here.
Regards,
Amit Singh