If you log the signature base string on the client side before doing the
request, you can compare it to the signature string that is given back
in the error message.
Probably it is an encoding issue of some sorts.
cheers, Arjan
On 07/24/2012 07:48 AM, Amrit Mishra wrote:
> I am using OAuth php for my service provider and jsOAuth
> <
https://github.com/bytespider/jsOAuth> library for client side in iOS.
> Now when I use the oauth_token which I received with my callback url I
> am getting error :
>
> *OAuth Verification Failed: Verification of signature failed (signature
> base string was
> "POST&http%3A%2F%
2Fapi.amishra.abc-dev.com%2Foauth%2Faccess_token.php&oauth_consumer_key%3Dab17b706d7320aa3607c8a774954eb495f7cccb3338a1f44ad4396c5a9ff69db%26oauth_nonce%3D2F4A42585632376F%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1343107528%26oauth_token%3D006d03cfc31bb7974d93ffb7cfa9001f0500e314a%26oauth_version%3D1.0").*
>
> I tried to do get request also, same.
>
> How to fix this error.
>
> --
> You received this message because you are subscribed to the Google
> Groups "OAuth PHP" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/oauth-php/-/0lWzZCHtQ0YJ.
> To post to this group, send email to
oaut...@googlegroups.com.
> To unsubscribe from this group, send email to
>
oauth-php+...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/oauth-php?hl=en.