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

Support CORS #121

Open
mmccool opened this issue Nov 14, 2018 · 3 comments
Open

Support CORS #121

mmccool opened this issue Nov 14, 2018 · 3 comments

Comments

@mmccool
Copy link
Contributor

mmccool commented Nov 14, 2018

Consider adding metadata about whether a Thing supports CORS, which enables use of the device from a browser.

@ghost
Copy link

ghost commented Nov 14, 2018 via email

@mmccool
Copy link
Contributor Author

mmccool commented Dec 3, 2018

It would be helpful to have some use cases for when we need to modify the default CORS behavior. I think this is probably most relevant to using a browser as a UI to a Thing, and in particular when a single browser session is being used to control multiple devices.

@mmccool
Copy link
Contributor Author

mmccool commented Apr 15, 2019

What I'm wondering about is whether this is something that should be in the protocol binding for HTTP: should IoT devices ALWAYS allow connections to devices from other origins? What are the exact use cases? See: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

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