Discourse SSO + normal login


(Buford Taylor) #1

Haven’t seen this topic popup. I’ve inherited a Discourse server and I’m looking to implement SSO without abandoning all the previous users who logged in without SSO.

Basically this flow:

  1. User on Discourse is logged out. Clicks ‘login’
  2. Can type in Username / password, or click “login via [my site]”

I’ve got the SSO working thanks to this great thread: Official Single-Sign-On for Discourse (sso)
I’ve got the normal login with username / password working.

But not both at the same time. Is there a feature for this? current settings - https://i.imgur.com/LtYo0Y9.png


(Rafael dos Santos Silva) #2

SSO is always the Single login when enabled.

If you want to provide multiple logins methods, you need to create login strategies, like OAuth2 Basic Support, LinkedIn OAuth2 Plugin, etc.

Also, if your current users exist in the SSO provider, they can use that just fine because the emails will match.