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

Allow Preflight options request? #456

Open
joshimbriani opened this issue Aug 29, 2018 · 0 comments
Open

Allow Preflight options request? #456

joshimbriani opened this issue Aug 29, 2018 · 0 comments

Comments

@joshimbriani
Copy link

Hey everyone, awesome package! I'm having some issues specifically with the password change API. I'm calling into it (at the api.domainname.com subdomain) with my React frontend from the main domain (domainname.com). When I hit the /password/change/ URL, I get an Response for preflight does not have HTTP ok status error. After looking at the code for this API, it looks like it doesn't support the OPTIONS method and so my OPTIONS preflight request will always be a bad request. Is there a way to get around this? (I installed django-cors-headers and it didn't change anything) I'd be glad to submit a PR if there isn't a better way to do this and folks seem to think it's valuable!

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

No branches or pull requests

1 participant