How to connect my (existing) User Database?

Hi all,

I have already an existing Webseite with a User DB. How can I use the Users from this DB to log into Discourse? It would be the best that they are automatically logged in, when the are already logged into my Website.

My Problem at the moment is, that the PW in my DB is encrypted and I can’t push them via Curl into Discourse. Is there a best practice article somewhere?

Thanks for your help!


If you want to move them to discourse, rather than use sso, you can use an import script and Migrated password hashes support

But you want to keep your old site, so you want sso.


I don’t want to move them, they should stay in our DB becuse new registrations are comming in through our Website.

How can I create a custom SSO?

Like so: