0

(401) Unauthorized. Getting Request Token failed

The following string is what I use to get request token, but I always get an error:
"The remote server returned an error: (401) Unauthorized."



https://api.login.yahoo.com/oauth/v2/get_re...h_nonce=4171496
&oauth_timestamp=1275405560
&oauth_consumer_key=dj0yJmk9QUpBa3l5M2ZwWjBoJmQ9WVdrOVIyY3dPVmROTm04bWNHbzlNV
Gc0TURrd05USTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD1lMA--
&oauth_signature_method=plaintext
&oauth_signature=8Fmrz7c6BYMPAZ8oLK%2f%2fyQ3TgvI%3d
&oauth_version=1.0
&xoauth_lang_pref=en-us
&oauth_callback=oob

by
1 Reply
  • Hi Steven,

    If you use the PLAINTEXT signature method (not "plaintext"), then the signature
    should be the consumer key secret plus '&'. Please check the OAuth spec
    for details:

    Signature for PLAINTEXT
    http://oauth.net/core/1.0a/#anchor21

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0

Recent Posts

in OAuth General Discussion YDN SDKs