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]]];
Since I am actively working with the objective-c OAuth imlementation I
want to join this project.
The issue's link:
http://code.google.com/p/oauth/issues/detail?id=30&sort=lib&colspec=ID%20Type%20Status%20Priority%20Lib%20Owner%20Summary
Regards,
Zsombor Szabó
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---