On 7/2/10 7:07 AM, Oscar Del Ben wrote:
> Hi, I'm having some troubles with this situation.
>
> I'm uploading some files via oauth, but the provider's server has to
> change the paramenters. For example if I send 'foo=my_upload' the
> provider would receive 'foo=path=my_upload'. This is for dealing with
> large uploads (more than 100mb). The problem is that the signature is
> of course different, and authorization fails. How would you deal with
> a situation like this?
It would be up to the provider code to know if it is modifying the
incoming request. In PHP's OAuth Provider implementation you would use
something like:
$provider->setParam('foo', 'my_upload');
to set it back with whatever additional logic you need before that to
pick out the original request parameters.
-Rasmus
--
You received this message because you are subscribed to the Google Groups
"OAuth" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/oauth?hl=en.