Jump to content
We've recently updated our Privacy Statement, available here ×

jasperserver cors 403


yassinswag50

Recommended Posts

Hello everyone,

this is my cors configuration i added to web.xml file:

<filter>    <filter-name>CorsFilter</filter-name>    <filter-class>com.jaspersoft.jasperserver.api.security.csrf.CorsFilter</filter-class>    <init-param>        <param-name>cors.allowed.origins</param-name>        <param-value>http://localhost:port</param-value>    </init-param>    <init-param>        <param-name>cors.allowed.methods</param-name>        <param-value>GET,POST</param-value>    </init-param>    <init-param>        <param-name>cors.exposed.headers</param-name>        <param-value> Access-Control-Allow-Origin,Access-Control-Allow-Credentials </param-value>    </init-param>    <init-param>        <param-name>cors.support.credentials</param-name>        <param-value>true</param-value>    </init-param>    <init-param>        <param-name>cors.preflight.maxage</param-name>        <param-value>1800</param-value>    </init-param></filter><filter-mapping>    <filter-name>CorsFilter</filter-name>    <url-pattern>/*</url-pattern></filter-mapping>[/code]

i resolved the cors issue but now i'm getting 403 error whe i try to navigate in jasperserver:

capture.png.71d765a0f6a89c33914a358d5edd0a84.png

can anyone help me with this 

thank you

capture.png.b5eb5693f7f2cb88ec93d0dcb2461902.png

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...