cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

CORS support in Flow's NGINX - How

SOLVED
Highlighted
Marble

CORS support in Flow's NGINX - How

Hi all,

Trying to configure new Windchill 11.2.1 Trace Management with remote Flow installation gives me error:

Access to XMLHttpRequest at 'https://flow.**/Thingworx/Things/OslcDataServicesThing/services/GetServerResourceDetails' from origin 'https://my.windchill.serv' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

How to configure it in NGNIX?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: CORS support in Flow's NGINX - How

Take a look at this article https://www.ptc.com/en/support/article?n=CS248759

specifically how to configure Nginx directive to add header:

add_header Access-Control-Allow-Origin *;

You can also look here https://enable-cors.org/server_nginx.html for more info.

View solution in original post

2 REPLIES 2
Highlighted

Re: CORS support in Flow's NGINX - How

Take a look at this article https://www.ptc.com/en/support/article?n=CS248759

specifically how to configure Nginx directive to add header:

add_header Access-Control-Allow-Origin *;

You can also look here https://enable-cors.org/server_nginx.html for more info.

View solution in original post

Re: CORS support in Flow's NGINX - How

Hi Marek,

Thanks a lot for help!

Found answer in a Flow documentation also.

Unfortunately it turned out integration is not ready till ILM 12.3

Kind regards,

Andrey

 

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________