<p>I actually like JSONP, but supporting it would be quite a substantial change to the APIs</p>
<p>Adding CORS support is a relatively small change, and probably a more "technically correct" solution.</p>
<p>It does have less browser support though. <br>
</p>
<div class="gmail_quote">On Apr 25, 2012 4:01 AM, "Tres Henry" <<a href="mailto:tres@treshenry.net">tres@treshenry.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jsonp sucks (get only) but might be the best choice. That's generally how AWS supports these use cases, fwiw.<br>
<br>
On Apr 24, 2012, at 7:49 AM, Sandy Walsh <<a href="mailto:sandy.walsh@rackspace.com">sandy.walsh@rackspace.com</a>> wrote:<br>
<br>
><br>
><br>
> On 04/24/2012 11:19 AM, Nick Lothian wrote:<br>
>> JSONP is great, but won't work with POST requests.<br>
><br>
> Hmm, good point.<br>
><br>
>> I don't quite understand what "Due to the redirect nature of the auth<br>
>> system" means, though.<br>
>><br>
>> If I use a custom Webkit browser & allow cross domain XMLHttpRequests it<br>
>> works fine - I do a POST to /v2.0/tokens, get the token and then use<br>
>> that. What am I missing?<br>
><br>
> The Auth system will give you a token and then a new "management" url<br>
> where the actual commands are issued (the real Nova API endpoint). These<br>
> are often two different systems (domains), so cross-site requests are<br>
> mandatory.<br>
><br>
> -S<br>
><br>
><br>
><br>
>> Nick<br>
>><br>
>> On Tue, Apr 24, 2012 at 8:57 PM, Sandy Walsh <<a href="mailto:sandy.walsh@rackspace.com">sandy.walsh@rackspace.com</a><br>
>> <mailto:<a href="mailto:sandy.walsh@rackspace.com">sandy.walsh@rackspace.com</a>>> wrote:<br>
>><br>
>>    Due to the redirect nature of the auth system we may need JSONP support<br>
>>    for this to work.<br>
>><br>
>><br>
>><br>
>>    _______________________________________________<br>
>>    Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>>    Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>>    <mailto:<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
>>    Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>>    More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div>