Skip to content
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

Disable CORS management #320

Open
etchegom opened this issue Apr 23, 2019 · 1 comment
Open

Disable CORS management #320

etchegom opened this issue Apr 23, 2019 · 1 comment

Comments

@etchegom
Copy link

I built my django app with an nginx proxy upstream, which is in charge of handling CORS headers. I would need a new boolean settings value (like OIDC_CORS_MANAGEMENT_ENABLE) to tell django-oidc-provider not to manage CORS headers at all, so that I can delegate this job to my proxy.

Please tell me what you think about that. Maybe there is a particular reason for CORS headers to be handled like it is.
I forked the repo and made a new branch from develop, if that can help.

@juanifioren
Copy link
Owner

The spec says SHOULD support CORS so it's a good idea @etchegom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants