0

OAuth oauth_problem=signature_invalid

Hi, everyone!

I'm an iOS developer, I've just try to login and I always receive this error.

Firstly, I send: https://login.yahoo.com/WSLogin/V1/get_auth_token?login= %40yahoo.com&oauth_consumer_key=dj0yJmk9QWsyR3d3U0pGaFRKJmQ9WVdrOVRWTllTVU55TlRRbWNHbzlNVGd6TWpjeU5qWXkmcz1jb25zdW1lcnNlY3JldCZ4PTI3&passwd=

then I received: RequestToken=hagoM5hu3Aa.Zb2GO8J0QPPPkd_uTSdAfUTz_pE_lZlL33OjvwabGYCpT3hD1ysekwQbN85rckOourGGmLRNcU3r2G2ePcyhRg8IU_K9BYKETvy_p21jAbtwHpQ7S9IPvz5DLx20QCeh6fGDPmIDijjilF398bHgeG963TrTUn9F6xXf0OODdtCdr8kSmFC1b3SsHqYsxDIYWE6E89skf084%0A

and send: https://api.login.yahoo.com/oauth/v2/get_token?oauth_consumer_key=dj0yJmk9QWsyR3d3U0pGaFRKJmQ9WVdrOVRWTllTVU55TlRRbWNHbzlNVGd6TWpjeU5qWXkmcz1jb25zdW1lcnNlY3JldCZ4PTI3&oauth_nonce=rIRclJoCdpKaqU9DwVD2oBucHK2fbXDf4R1XAEI8&oauth_signature=106d807e105eb170d124dbc99c728402606179a8%26&oauth_signature_method=PLAINTEXT&oauth_timestamp=1386335265.370456&oauth_token=hagoM5hu3Aa.Zb2GO8J0QPPPkd_uTSdAfUTz_pE_lZlL33OjvwabGYCpT3hD1ysekwQbN85rckOourGGmLRNcU3r2G2ePcyhRg8IU_K9BYKETvy_p21jAbtwHpQ7S9IPvz5DLx20QCeh6fGDPmIDijjilF398bHgeG963TrTUn9F6xXf0OODdtCdr8kSmFC1b3SsHqYsxDIYWE6E89skf084%0A&oauth_version=1.0

Signature invalid

Then I changed signature method RequestToken=JnA75qxu3AYrz3Dz60_0X66M6guWTJflFHwclxR4.2xum_K0guHM.liHaHYlU71lu7IHQ24FoXJLqx7GA27_YLbMBrvMrrNTesc4IQ6dQanhadsX210yzOwIGWUpqLJK1kDShm_JNZ9EqjkgosRFOJnySArFKpcYwIKKpWW59p_HD9BLpNvXZw.SO7kbDW9A5y6vL2SFw4JWCa1i5TouKN8o

https://api.login.yahoo.com/oauth/v2/get_token?oauth_consumer_key=dj0yJmk9QWsyR3d3U0pGaFRKJmQ9WVdrOVRWTllTVU55TlRRbWNHbzlNVGd6TWpjeU5qWXkmcz1jb25zdW1lcnNlY3JldCZ4PTI3&oauth_nonce=xpkfqhhFWP0qpcvq2R3phrxb2sQtSx07oGVg4MGw&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1386334975.884086&oauth_token=JnA75qxu3AYrz3Dz60_0X66M6guWTJflFHwclxR4.2xum_K0guHM.liHaHYlU71lu7IHQ24FoXJLqx7GA27_YLbMBrvMrrNTesc4IQ6dQanhadsX210yzOwIGWUpqLJK1kDShm_JNZ9EqjkgosRFOJnySArFKpcYwIKKpWW59p_HD9BLpNvXZw.SO7kbDW9A5y6vL2SFw4JWCa1i5TouKN8o%0A&oauth_version=1.0

but still nothing

Can anyone tell me where is my mistake?

Please help me.

by
1 Reply
  • I don't know how to change previous post

    So, at first time I send request with:

    oauth_signature_method=PLAINTEXT

    oauth_signature=MY_CONSUMER_SECRET%26

    <https://api.login.yahoo.com/oauth/v2/get_token?>
    oauth_consumer_key=dj0yJmk9QWsyR3d3U0pGaFRKJmQ9WVdrOVRWTllTVU55TlRRbWNHbzlNVGd6TWpjeU5qWXkmcz1jb25zdW1lcnNlY3JldCZ4PTI3&
    oauth_nonce=TXEkm1yCvzg0lbP4eiSXea3Ya7eL1LEy5oZ3p3yR&
    oauth_signature=106d807e105eb170d124dbc99c728402606179a8%26&
    oauth_signature_method=PLAINTEXT&
    oauth_timestamp=1386338438.878707&
    oauth_token=PMAdQNVu3Aapy0kQyvBN7gEUjrlBNxq0l5xQ_HpwiGzwzQ4CSsBKDIzwj2Fq4WT.VXSJtZMDyGY1j.RYhwLjMQt1BEtjnh5cDw_F3uA2GqVfNuhYUd.znmqK6j6nrjM46783cPSOzqS4qzKM11mWJMW81VWoqmFY_MAlIRIcFeh6Wk2TDZgUL5EhSmLov4eWi7It0zRESpZkYlI1ltBS3KaL%0A&
    oauth_version=1.0
    

    I received: signature_invalid

    Then I changed signature method to: HMAC-SHA1

    <https://api.login.yahoo.com/oauth/v2/get_token?>
    oauth_consumer_key=dj0yJmk9QWsyR3d3U0pGaFRKJmQ9WVdrOVRWTllTVU55TlRRbWNHbzlNVGd6TWpjeU5qWXkmcz1jb25zdW1lcnNlY3JldCZ4PTI3&
    oauth_nonce=o4OSLfVfdLFmofTM07xQOCNZnxXWZeUUfwqphUdk&
    oauth_signature=82304d76b9db86d97e23594767f5a2eb2ef9740204711dd16de9ee0d25b53f62&
    oauth_signature_method=HMAC-SHA1&
    oauth_timestamp=1386338626.902770&
    oauth_token=OsfCzAtu3AYlazG3wr9idhmi4BedZHpOk2OyBBMLLOemdumr2bwUJ9PyrfpuvgEmjw.6jwp_obguMDrXC.cGx5Qd0xbzuGhOr6Tz1n7pF1nvr4nP4cWtqj39yXB6avPbMBefjMnzo2Y1_FhhuBZRXnFZ8kNWm7C9O1fcRSLUSlGoaMmH_v49ruAejGbL0jDw_kn9uck19xGySmX1ivWvoggz%0A&
    oauth_version=1.0
    

    In both case I received signature_invalid

    Any ideas

    0

Recent Posts

in Contacts