Skip to Content
0
Former Member
Jun 05, 2015 at 02:45 PM

Allowing CORS on OData with authentication in HANA SPS09

44 Views

Hi,

I am trying to allow CORS on OData service with authentication created over HANA SPS09.

I tried the following options -

XSADMIN

Contents of .XSACCESS


{

"exposed" : true,

"authentication" :

{

"method": "Basic"

},

"cache_control" : "must-revalidate",

"cors" :

{

"enabled" : true,

"allowMethods": ["GET"],

"allowOrigin": ["*"]

},

"enable_etags" : false,

"force_ssl" : false,

"prevent_xsrf" : true

}

Please let me know if any settings are redundant


I referred to the thread

I am not able to access my OData service in other domains. Can you please suggest where I am making a mistake