cancel
Showing results for 
Search instead for 
Did you mean: 

XSA CORS - OPTIONS request forbidden

Former Member
0 Kudos

Hi,

I have a problem configuring CORS on my Java application (it's deployed with push command via xsa client, as .war file, means it is not an .mtar archive so I cannot add .mtad or xs-app.json probably).

The problem is that preflight request (OPTIONS) doesn't pass (403 Forbidden status is returned) and also I can see in logs of my application that this request doesn't even get to my internal CORS filter (configured in web.xml of my application).

So my conclusion is that router bound to my application is blocking OPTIONS request probably.

Is there any way to configure the application, or router, to serve OPTIONS request, without converting my application (.war) to .mtar archive and restructuring everything?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

@Nikola Malenic did you find the solution for this problem? I am facing the same issue. Kindly help.