-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support CORS on OpenMRS using Nginx configuration #95
Comments
Two things that have come up when discussing this with @githengi are:
|
I personally feel really uncomfortable about this, informed by the discussion we had around the same area. OpenMRS type data to me seems exactly the kind that we need an intermediate for (based on our brand new policy in this same area) which in my view should naturally be the OpenSRP web server and so I would vote very much against doing this change on OpenMRS directly. |
☝️Especially given the fact that the JS client side app in this case will have to use basic authentication, which means that that username and password will be available in the JS for anyone (else) to use. |
OK. Going to block until team discusses further. |
Am also in support with blocking this until the team discusses further this approach. I also like the idea of proxying requests to OpenMRS from OpenSRP server from a security stand point. |
Enable Support CORS on OpenMRS using Nginx configuration
Add variables that will control if
Below is an example of a working config on reveal stage
Reference
https://enable-cors.org/server_nginx.html
The text was updated successfully, but these errors were encountered: