> On Dec 4, 2008, at 11:17 AM, Zsombor Szabó wrote:
>
>> After a few hours of debugging I came to conclusion that the consumer
>> secret and token secret are not URL encoded in the
>> OAMutableURLRequest.m src file in - (void)prepare method. The spec
>> says it should be: http://oauth.net/core/1.0/#response_parameters
>>
>> The fix is simple, replace the signature initialization with this one:
>>
>>    signature = [signatureProvider signClearText:[self
>> _signatureBaseString]
>>                                      withSecret:[NSString
>> stringWithFormat:@"%@&%@",
>>                                                  [consumer.secret
>> encodedURLParameterString],
>>                                                  [token.secret
>> encodedURLParameterString]]];

Are you using Obj-c1 framework ? If so I have a patch for this ready
to be committed along with some memory leak fixes.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to