php - How to resolve "Invalid signature. Expected signature base string" in OAuth 1.0 -
i'm attempting access token , secret site using oauth. exchange of request token , request secret goes fine, when comes time access tokens error "invalid signature. expected signature base string."
has seen error before or know might wrong? here data getting (after urldecode
-ing it):
invalid signature. expected signature base string: post https://www.readability.com/api/rest/v1/oauth/access_token oauth_consumer_key=my_consumer_key oauth_nonce=d9aff6a0011a633253c5ff9613c6833d79d52cbe oauth_signature_method=hmac-sha1 oauth_timestamp=1311186899 oauth_token=c8gf7d6ytpzqkdzvpy oauth_verifier=ncuv4tjsrs oauth_version=1.0 signature=7juuk6fsel8xnyxvwcsfgxerek0%3d
you can take here, asked week ago. response:
getting oauth signature stuff right huge pain. should try hard make sure base string library generates 1 server expecting. once that's true, way can screw hmac wrong key(s).
Comments
Post a Comment