Recommendation on login strategy

sso

(Allen Lai) #1

I’m somewhat new to Discourse, so my apologies in advance if this has already been asked. We currently have SSO enabled on our Discourse instance. But we also want to allow users to login using Facebook, Google, Twitter, GitHub, etc. In order to do that, will I need to create a custom login page? Or is there a setting that I’m not seeing to allow this?

Thanks for your help!

Allen


(Jeff Atwood) #2

In this case, you need to be an oAuth2 provider. That is, in the login options you would see

Log in with:

  • Twitter
  • Facebook
  • {MY_COMPANY_NAME}
  • Google

etc

SSO means “magic automatic login with no UI” so these are mutually exclusive.


(dongx) #3

How to do that? Is there any tutorial teaching us how to add an extra button for “our own site login”