I used the source from the obj-c. I have checked the obj-c1 source also since then. This bug is in that source too.
Soci, if you have access to the svn repository then make those changes so that people won't suffer with this issue in the future like I did. Thanks, Zsombor On Dec 4, 5:02 pm, "soci soci" <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
