Share sign-up and login between Discourse and site?

AI-generated summary

The discussion revolves around integrating user sign-up and login between a Django-based website and a Discourse forum using Single Sign-On (SSO). Openmind asks if it’s possible to unify the databases so that user accounts are shared between both systems. Mevo explains that SSO allows one system (e.g., Discourse) to handle authentication for the other, similar to logging in with Facebook or Google. Openmind clarifies that they want a merge of existing accounts, not just authentication delegation. Mevo confirms that while SSO handles authentication, merging databases would be a one-time process, potentially involving account conflicts, after which SSO would manage logins seamlessly.

Hi, I have a discourse forum and a site. The site is built in Django and has a sign-up/account functionality. Is there any way to combine/unify both databases in such a way that users can sign up in one place and the account data is shared between both systems?

Do a search on “SSO”. One site would take care of registration/login and the other would rely on it for that purpose. For example:

Can you show me an example where I can see how exactly it works from a user’s perspective?

I guess every website where you can login with Facebook, Google, etc.
That’s SSO.

Your other website would kind of do that with your Discourse if you use Discourse as SSO provider.

I think we are talking about different things here. What I want is some kind of merge between my Django accounts and my Discourse user accounts.

You ended your initial message by:

So, if I’m not mistaken, it is what we’re talking about. Merging the databases (really transferring the accounts from what will become the SSO client to the SSO provider) would be additional, I guess. It would just be a one time “merge” when you’re putting the SSO in place (you may have the difficulty of accounts already existing on both sides to handle). Once merged, how do you go forward from there ? With what was described above.