[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: CORS 11.7

  • Thread starter Thread starter bronco
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top