0

oauth_problem=token_rejected

Hi,

I am using the PHP OAuth library, and when I try to get the access token, I am getting error message: "oauth_problem=token_rejected".

In reading through some forums, this error seems to occur when the signature is not encoded properly. Is this the only cause? And if so, this is being encoded by the PHP library, so is there any thoughts on how I can fix that?

CODEBOX
https://api.login.yahoo.com/oauth/v2/get_token?oauth_verifier=taaz3a&oauth_consumer_key=dj0yJmk9SkF2Tk80RTVFN3FLJmQ9WVdrOWIzWkVkM0kzTXpBbWNHbzlNV
E16TWpnNU5EQTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD04ZA--&oauth_signature_method=HMAC-SHA1&oauth_nonce=289944d0d74d5699d91.47801518&oauth_timestamp=1292727509&oauth_version=1.0&oauth_token=exa8sam&oauth_signature=aYhfzOuDatk0jK7fXiKZgVKndsM%3D


Thanks,
Patrick

by
1 Reply
  • It is working now. I messed around with a bunch of things, including creating an extra application on my account. After creating a new account, my first one started working. I can't confirm for sure that is what the fix was, but I am good.
    0

Recent Posts

in OAuth General Discussion YDN SDKs