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

Access-Control-Allow-Origin #11

Open
prabhakar267 opened this issue Oct 9, 2016 · 5 comments
Open

Access-Control-Allow-Origin #11

prabhakar267 opened this issue Oct 9, 2016 · 5 comments

Comments

@prabhakar267
Copy link
Member

XMLHttpRequest cannot load https://nsitod.in/api/members/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8000' is therefore not allowed access.
@mbad0la @ab-decoded

@prabhakar267
Copy link
Member Author

I found something, this can be used
https://github.com/ottoyiu/django-cors-headers

@mbad0la
Copy link
Collaborator

mbad0la commented Oct 9, 2016

@ab-decoded please confirm on this. Would it be safe to enable cors, considering that we don't have any sensitive data as such?

@mbad0la
Copy link
Collaborator

mbad0la commented Oct 9, 2016

@prabhakar267 would you like to initiate a PR if @ab-decoded is fine with this?

@prabhakar267
Copy link
Member Author

@mbad0la sure!

@mbad0la
Copy link
Collaborator

mbad0la commented Aug 24, 2017

Let's keep this on hold, considering we need to build authorisation soon.

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