cancel
Showing results for 
Search instead for 
Did you mean: 

Allowing CORS on OData with authentication in HANA SPS09

Former Member
0 Kudos

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



Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Anyone has any solution?