Customized login

The purpose of single sign-on is to re-use an existing sign-on session. If you implement SSO correctly your users would be redirected back to your website and if they’re already signed in they would be seamlessly signed in and redirected to the Discourse site. If they aren’t already signed in to your site then they would complete the sign-in process and then be redirected back to Discourse.

Discourse wouldn’t use the emails and passwords from your other database directly, SSO relies on your existing site handling things like authentication and email verification. It assumes you’re already doing those things with a goal of keeping things to one set of credentials and a single authentication challenge.