← Back to team overview

openstack team mailing list archive

Re: Nova middleware for enabling CORS?

 

Keystone doesn't (yet) support CORS  - there's an open blueprint for it, but no work has been applied there as yet

-joe

On Oct 30, 2012, at 10:57 AM, Renier Morales <renierm@xxxxxxxxxx> wrote:
> On Oct 30, 2012, at 1:08 PM, David Kranz wrote:
> 
>> On 10/30/2012 12:43 PM, Renier Morales wrote:
>>> Hello,
>>> 
>>> I'm wondering if someone has already created a nova paste filter/middleware for enabling Cross-Origin Resource Sharing (CORS), allowing a web page to access the openstack api from another domain. Any pointers out there?
>>> 
>>> Thanks,
>>> 
>>>    -Renier
>>> 
>>> 
>> This https://review.openstack.org/#/c/6909/ was an attempt to add such middleware to swift. It is
>> generic CORS support but seems
>> to have been rejected in favor of putting CORS support in swift directly and checked in last week:
>> https://github.com/openstack/swift/commit/74b27d504d310c70533175759923c21df158daf9
> 
> Question for the list: this supports CORS in Swift. Should other services (nova, keystone, glance) do the same kind of intrinsic CORS enablement?
> It's surprising that something like CORS, if done, would not be done in a more generic plug-in friendly that you could use across all services.
> 
> 	-Renier
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp



References