CORS support
Add CORS support with configurability for domains accepted for responses
Blueprint information
- Status:
- Complete
- Approver:
- Joseph Heck
- Priority:
- Medium
- Drafter:
- Joseph Heck
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
- Dolph Mathews
Related branches
Related bugs
Bug #987044: OpenStack APIs should support CORS to be usable from Javascript | Fix Released |
Sprints
Whiteboard
FYI: There is already implementation in Swift, if someone wants to get inspired by that. I don't think this can be pulled out of inside swift since it was needed to be put directly in the proxy server. If that's not the case for keystone and can be done as a middleware this may be nice to have directly in oslo and have a common allowed_domains for all openstack components.
Works is done in oslo-incubator on https:/
Q: With the middleware is oslo, what needs to be done in keystone, if anything?
A: None. We're running a setup with the CORS middleware plugin. Other than mere configuration, no changes to keystone were required. (marked as superceded based on this -dolph)