1

I use my Yahoo account to log in to Stack Exchange sites. It works just fine when on my desktop, but when on my iPhone (from Safari or Chrome), after I click "Login with Yahoo" all I get is a blank white page at the URL

https://open.login.yahooapis.com/openid/op/auth?openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&openid.identity=http://specs.openid.net/auth/2.0/identifier_select&openid.return_to=https://stackoverflow.com/users/authenticate/?s=9a28fe4a-7dfc-449d-be96-b0384058f7b8&dnoa.userSuppliedIdentifier=http%3A%2F%2Fyahoo.com%2F&openid.realm=https://stackoverflow.com/users/authenticate/&openid.mode=checkid_setup&openid.ns=http://specs.openid.net/auth/2.0&openid.ns.alias3=http://openid.net/srv/ax/1.0&openid.alias3.if_available=alias1,alias2,alias3,alias4&openid.alias3.mode=fetch_request&openid.alias3.type.alias1=http://schema.openid.net/namePerson&openid.alias3.count.alias1=1&openid.alias3.type.alias2=http://schema.openid.net/contact/email&openid.alias3.count.alias2=1&openid.alias3.type.alias3=http://axschema.org/namePerson&openid.alias3.count.alias3=1&openid.alias3.type.alias4=http://axschema.org/contact/email&openid.alias3.count.alias4=1

Does anyone else have this problem or is it just me? Is it something on my end or Yahoo's or Stack Exchange's?

1

1 Answer 1

4

It's been a while since I've worked with OAuth, so I wouldn't presume to try and give you an authoritative answer. But whenever I ran into any problems, I always made sure to log in/log out and if possible deactivate any existing tokens before requesting new ones.

When you try to log in to Stack Overflow via Yahoo/OAuth here's what happens (some call it the OAuth dance):

  1. Stack Overflow creates a request, asking for the permissions it wants from Yahoo, and sends the request.
  2. Yahoo receives the request and asks you to login. Once successfully authenticated, Yahoo will confirm that you want to allow Stack Overflow the permissions it requested.
  3. After your agree to the permissions, Yahoo will put together an OAuth access token that grants access to services. Yahoo will save the token/nonce/etc to authenticate you with until the token's expiration time.
  4. Then Yahoo sends back the token to a callback URL Stack Overflow specified in the initial request.
  5. Stack Overflow receives the token and saves it as well, allowing them to use it on your behalf until it expires.

The whole process should be pretty seamless to the users perspective, as you should be linked directly to a Yahoo login, have a couple accept buttons to click (if any) and then be taken back to Stack Overflow's callback URL where your account should be logged in automatically. If this isn't working, try the following:

  1. Deauthorize any tokens through your yahoo control panel (if you they let you).
  2. Log out of Yahoo/Stack Overflow on any active devices.
  3. Clear your cache on said devices and try again.

That always worked for me whenever weird stuff happened, my guess is that there's a token that one side thinks is good and the other disagrees. I do know that the above procedure always fixed it for me, good luck!

Too bad I couldn't clear the cache on my high school dancing... probably why my senior prom silently failed. Never saw my date or my wallet again.

4
  • Great answer. This solved the problem, thanks!
    – cbalos
    Mar 8, 2014 at 16:21
  • Caching. It's always caching... Mar 9, 2014 at 9:27
  • @Arjan: My mother would be proud. She doesn't know what a block quote looks like though, I could have gotten away with that....
    – ch1pn3ss
    Mar 10, 2014 at 1:30
  • Your mother probably also told you it's fine to take credit for what's yours ;-) (And thanks, I learned something about ellipses just now!)
    – Arjan
    Mar 10, 2014 at 6:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .