B
bronco
Guest
First of all, make sure that you add the credentials from Angular: stackoverflow.com/.../angular-2-http-withcredentials second, read the site: enable cross-origin resource sharing to understand why you get a preflight request. last: search for the conf/oeablSecurity.properties file and the CORS section: OECORSFilter.allowAll=true OECORSFilter.responseHeaders=Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma,X-CLIENT-CONTEXT-ID OECORSFilter.allowDomains= OECORSFilter.allowSubdomains=false OECORSFilter.allowMethods=GET,POST,PUT,DELETE,OPTIONS,PATCH OECORSFilter.messageHeaders=Accept,Accept-Language,Content-Language,Content-Type,X-CLIENT-CONTEXT-ID,Origin,Access-Control-Request-Headers,Access-Control-Request-Method,Pragma,Cache-control,Authorization,hoppa OECORSFilter.supportCredentials=true OECORSFilter.maxAge=-1 Make sure that for the time being OECORSFilter.allowAll=true
Continue reading...
Continue reading...