Skip to Content
author's profile photo Former Member
Former Member

Allowing CORS on OData with authentication in HANA SPS09

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



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 24, 2015 at 07:12 AM

    Anyone has any solution?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.