0

Unable to get request token using HMAC-SHA1

Hi,

I am unable to get request token using HMAC-SHA1

This is the call

https://api.login.yahoo.com/oauth/v2/get_request_token?
oauth_nonce=gettingToken
&oauth_timestamp=1277975227
&oauth_consumer_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
&oauth_signature_method=HMAC-SHA1
&oauth_signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
&oauth_version=1.0
&oauth_callback=http://yahoo.com/

I am getting oauth_problem=signature_invalid.

I am using the Consumer key and Consumer secret for oauth_consumer_key and oauth_signature respectively.

Thanks in Advance

6 Replies
  • When I use oauth_type=plaintext, I get the token and all other details.

    But the problem is for fetching the guid, if I send oauth_type=plaintext, I get an error which says, oauth_type rejected.
    0
  • Correction, I was referring to oauth_signature_method, mistakenly wrote it as oauth_type.
    0
  • Hi Sriram,

    Can you please provide the ckey and signature? Actually
    there is no secrecy in the ckey because in the OAuth flow,
    any user can see it in the request parameters.

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0
  • Hi Yu Wang
    I`m getting the same problem in my BlackBerry  5.0 application developing
    I have got Access Token by use PlainText but when I send request to get user information by using HMAC-SHA1 · follow Yahoo oauth , I get OAuth oauth_problem="signature_invalid", realm="yahooapis.com respond. I use Oauth library for J2ME and whenever I use HMAC-SHA1 method to get access token, responds are unsuccessful.
     Please help me .
     Thank
    0
  • Hi,

    I there a solution to this problem ?

    Stéphane
    0
  • The issue is happening to me too. Did you figure a way out of this?

    Thanks, N

    0

Recent Posts

in OAuth General Discussion YDN SDKs