0

Error Unauthorized

Hi here,

Consumer Key:dj0yJmk9amQzaWJ1dFpueWR2JmQ9WVdrOVYyUXhRMDFQTm5FbWNHbzlOVE16TXpVMU5EWXkmcz1j
b25zdW1lcnNlY3JldCZ4PWJj
Consumer Secret:5566e7863ab46befd4fac60a6741c8acc078fcd4

this is the URL that I post;

https://api.login.yahoo.com/oauth/v2/get_re...th_callback=oob

I am very confused. I feel my post like be correct. Anybody help me? thanks.

by
6 Replies
  • Oh ,Sorry . the url is not seen;

    URL:https://api.login.yahoo.com/oauth/v2/get_request_token

    Data:oauth_nonce=dff946487004a078d69c9a29ab59ba95&oauth_timestamp=1273195965&oauth_consumer_key=dj0yJmk9amQzaWJ1dFpueWR2JmQ9WVdrOVYyUXhRMDFQTm5FbWNHbzlOV
    E16TXpVMU5EWXkmcz1jb25zdW1lcnNlY3JldCZ4PWJj&oauth_signature_method=PLAINTEXT&oauth_signature=5566e7863ab46befd4fac60a6741c8acc078fcd4%26&oauth_version=1.0&oauth_callback=oob
    0
  • Hi,

    I have the same problem in my application. Tried three different java / javascript libs for singing request, got a new Application key and secret five times but every time I get a 401.

    Is there something wrong with yahoo oauth provider?


    QUOTE (flyeag @ May 6 2010, 05:45 PM) <{POST_SNAPBACK}>
    Oh ,Sorry . the url is not seen;

    URL:https://api.login.yahoo.com/oauth/v2/get_request_token

    Data:oauth_nonce=dff946487004a078d69c9a29ab59ba95&oauth_timestamp=1273195965&oauth_consumer_key=dj0yJmk9amQzaWJ1dFpueWR2JmQ9WVdrOVYyUXhRMDFQTm5FbWNHbzlOV
    E16TXpVMU5EWXkmcz1jb25zdW1lcnNlY3JldCZ4PWJj&oauth_signature_method=PLAINTEXT&oauth_signature=5566e7863ab46befd4fac60a6741c8acc078fcd4%26&oauth_version=1.0&oauth_callback=oob
    0
  • This call looks good to me. Have you checked your machine's date/time? If it is too far off the atomic clock this would cause a 401 for invalid timestamp (I think).

    Eric
    0
  • Also, when you registered your app did you choose Web or Client/Desktop? I think you need to choose Client/Desktop to do oob calls (not positive).

    Eric
    0
  • Hi flyeag,

    Your consumer key is registered not requiring user authentication, so the
    get_request_token call is not applicable here.

    If you need to access user data such as Yahoo! Updates, Status and etc,
    then please make sure your consumer key belongs to the OAuth applications
    category:
    https://developer.apps.yahoo.com/projects

    You'll have to register a new consumer key.

    Thanks,
    Yu Wang
    0
  • QUOTE (omiga @ May 8 2010, 09:55 PM) <{POST_SNAPBACK}>
    Hi flyeag,

    Your consumer key is registered not requiring user authentication, so the
    get_request_token call is not applicable here.

    If you need to access user data such as Yahoo! Updates, Status and etc,
    then please make sure your consumer key belongs to the OAuth applications
    category:
    https://developer.apps.yahoo.com/projects

    You'll have to register a new consumer key.

    Thanks,
    Yu Wang


    Hi omiga,

    You are right, I got it.
    0

Recent Posts

in OAuth General Discussion YDN SDKs