0

Newbie help! OpenID+OAuth (Hybrid) error

I'm new to Yahoo OAuth (just signed up) and am running into issues getting the token. Below is my query:

https://open.login.yahooapis.com/openid/op/...consumer=XXXXXX

Could you tell me what's wrong with this? All I get from Yahoo is: "Sorry! There is an error with the request we received from the website you are trying to use. Please try again in a few minutes. If this error persists please contact the site administrator."

Also, how do you guys debug issues like this?

by
7 Replies
  • Turned out I didn't specify openid.claimed_id, everything works now. Yahoo, please clarify this on your http://developer.yahoo.com/oauth/guide/request-token.html page so others don't get stuck like me - you say on that page that openid.claimed_id is optional.

    QUOTE (Sekhar @ Mar 29 2010, 10:21 AM) <{POST_SNAPBACK}>
    I'm new to Yahoo OAuth (just signed up) and am running into issues getting the token. Below is my query:

    https://open.login.yahooapis.com/openid/op/...consumer=XXXXXX

    Could you tell me what's wrong with this? All I get from Yahoo is: "Sorry! There is an error with the request we received from the website you are trying to use. Please try again in a few minutes. If this error persists please contact the site administrator."

    Also, how do you guys debug issues like this?
    0
  • Hi Sekhar,

    The OpenID spec says openid.claimed_id and openid.identity can be
    optional, so our guide has to follow that. The spec says:

    "openid.claimed_id" and "openid.identity" SHALL be either both present or both
    absent. If neither value is present, the assertion is not about an identifier,and will contain other information in its payload, using extensions
    (Extensions).

    (http://openid.net/specs/openid-authentication-2_0.html#anchor27)

    We haven't yet seen/supported any extension that doesn't require
    openid.claimed_id or openid.identity. So in practice they should
    always be present. In addition, since you pass "openid.identity",
    then we also need to look for "openid.claimed_id."

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0
  • QUOTE (omiga @ Mar 29 2010, 08:25 PM) <{POST_SNAPBACK}>
    Hi Sekhar,

    The OpenID spec says openid.claimed_id and openid.identity can be
    optional, so our guide has to follow that. The spec says:

    "openid.claimed_id" and "openid.identity" SHALL be either both present or both
    absent. If neither value is present, the assertion is not about an identifier,and will contain other information in its payload, using extensions
    (Extensions).

    (http://openid.net/specs/openid-authentication-2_0.html#anchor27)

    We haven't yet seen/supported any extension that doesn't require
    openid.claimed_id or openid.identity. So in practice they should
    always be present. In addition, since you pass "openid.identity",
    then we also need to look for "openid.claimed_id."

    Thanks,
    Yu Wang
    Yahoo! Membership Team



    Hello Yu,

    I'm also new to OpenId, i tried to construct the URL

    https://open.login.yahoo.apis.com/openid/op...consumer=XXXXXX

    but i'm getting error saying "The remote name could not be resolved: 'open.login.yahoo.apis.com' "


    Regards,
    Amar
    0
  • Should be yahooapis (one word), the sample code is wrong.

    QUOTE (Amar Palsapure @ Apr 12 2010, 12:15 AM) <{POST_SNAPBACK}>
    Hello Yu,

    I'm also new to OpenId, i tried to construct the URL

    https://open.login.yahoo.apis.com/openid/op...consumer=XXXXXX

    but i'm getting error saying "The remote name could not be resolved: 'open.login.yahoo.apis.com' "


    Regards,
    Amar
    0
  • Hi Amar,

    allurefx is correct. Please use open.login.yahooapis.com.

    Thanks,
    Yu Wang
    0
  • Thanks Yu Wang, the URL works now :)Thanks
    0
  • Hi Amar,

    Thanks for pointing this out. I've notified the team that maintains the
    document.

    Thanks,
    Yu Wang
    1

Recent Posts

in OpenID General Discussion