Yahoo login doesn't seem to work


#1

Does anything special have to be done for the Yahoo login? I only see a checkbox:

enable yahoo logins
Enable Yahoo authentication

When I check it and try it out, I get a popup window with the following error:

502 Bad Gateway
nginx

It’s trying to access my site at “/auth/yahoo”.


(Crackmacs) #2

Likewise, seeing the same issue.


(Jeff Atwood) #3

Can you repro this @techapj?


(Sam Saffron) #4

Works 100% fine here, not sure what you are doing, are you on latest? Is there any particular browser where this happens.


#5

I’m on v1.3.0.beta9 +159. So weird… I tried it again and it seems to be working now.


(Jeff Atwood) #6

Maybe Yahoo had issues, would not be the first time.


(Craig Bowes) #7

I too am getting this issue with yahoo redirecting to:

http://my.domain.com/auth/yahoo

My own nginx server gives me the bad gateway error. I’m on v1.3.0.beta10 +3.

:sadpanda:


(Sam Saffron) #8

Can you log in with Yahoo account here?


(Craig Bowes) #9

Yep, now I’m logged in to a separate Yahoo account.


(Sam Saffron) #10

hmmm so this is specific to your site, can you try on http://try.discourse.com (which is not https) to rule out http vs https ?


(Navjot Singh) #11

I am getting the same error on my forum http://forum.shopperstalk.in
It redirects to http://forum.shopperstalk.in/auth/yahoo with 502 error. Weird thing is I don’t use nginx but the page still mentions it.

Can login fine here and try.discourse.org sites though.


(Navjot Singh) #12

Weird. Suddenly its working on its own.

Though I did add my domain at https://developer.apps.yahoo.com/manage and got it verified. Not sure if this helps. Though even when I delete the domain now, login continues to work.


(Gavin) #13

I’m experiencing the same issue. Did anyone ever get to the bottom of what causes this?

I’ve registered the site as an app with Yahoo. I do note that Yahoo provides a Client ID and CLient Secret, but there’s nowhere to enter these in Discourse’s admin.

Update…

Scratch that, seems to be a delay somewhere as everything works now.


(Katie Jenkins) #14

Has this issue been solved? I’m not able to log in on my own site or on this site with Yahoo. I’m getting the same error as dbo “502 Bad Gateway
nginx”

I tried registering an app on the Yahoo developer site (Yahoo - login) and haven’t had any luck.


(Jeff Atwood) #15

I am able to log in here on meta just fine via Yahoo, so I don’t think it’s a problem with the Discourse code.

(I did have to change my Yahoo test account password first, probably due to that massive password breach Yahoo had.)


(Katie Jenkins) #16

Weird, I swear it didn’t work earlier on this site. I tried it again on my site and it still doesn’t work, so I’m probably just going to remove it for now.


(Gideon Lupine) #17

I am unable to get Yahoo login to work either.

I have v1.8.0.beta5 +56 installed on digitalocean that I installed myself using docker.

I get:
502 Bad Gateway nginx

When it redirects me to:
http://talk.trumpreviews.com/auth/yahoo


(Gideon Lupine) #18

Did you ever get Yahoo Login to work?


(Ridha) #21

Its working in the next 15 minutes. :sweat_smile:


#22

The Yahoo auth option doesn’t seem to work on meta. I get:

https://meta.discourse.org/auth/yahoo
502 Bad Gateway
nginx/1.11.8


Yahoo login gives blank page