Kurisu

Kurisu

Can I add Discourse as a forum feature to any website no matter its backend language?

Hello,
Please, let’s say I have a website with user authentication made with Elixir/Phoenix, and now want to add a forum to it (using a subdomain).

Is it possible for me to install discourse on my server and make it share the same users database as the main website?
So that users authenticated through the main website will be recognized on the forum too…

Or do you think it will be easier for me to build my own forum application as a child application of my website backend?

Thanks

Marked As Solved

AstonJ

AstonJ

Yes that’s entirely possible!

You can even go the other way, and have Discourse manage your users and then use it as a SSO provider (what we do here with our giveaways).

I’m actually currently wondering what to do with the forum and our homepage… right now feel the quickest route is to let Discourse deal with user sign-ups because it has some cool features (such as Twitter/GH auth, log in with email, 2FA etc). Can always swap after wards…

Also Liked

OvermindDL1

OvermindDL1

That’s what I’ve done on one of my domains a long while back. I setup an OpenID Connect server and built a backend for it that uses the discourse forum as the master login database and it’s worked exceptionally well as an SSO. I only wish discourse could be an OIDC server by itself or at least if some plugin already existed so I didn’t have to build my own a while back. :sweat_smile:

Kurisu

Kurisu

:slight_smile: Oh really nice. I will check the documentation and see how I can implement this too.

Popular Backend topics Top

chasekaylee
Hi there everyone! Recently, I have fallen in love with programming with Elixir and have been having so much fun with it. I have been do...
New
dimitarvp
As a part of my new job I’ll have to learn to manage a local k8s cluster. The tools used are microk8s, tilt and helm. I’ll appreciate an...
New
DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
Jsdr3398
Are there any databases that require no setup (can be shipped in a small zip together with the project)?
New
andrea
Can Phoenix LiveView be used in multi-page applications, unlike React/Vue/Blazor which seems to be targeted for SPA?
New
New
TwistingTwists
Hello Folks, I am a novice developer from India. Intending to learn Elixir and web apps (phoenix framework). What are things that I MUS...
New
jeya
Dear Geeks I am new to pytest. I am following a youtube channel. I am writing the same code. learning to test login functionality of an...
New
Fl4m3Ph03n1x
Background I have to queries that return a colossal amount of data on their own. I cannot use Repo.all as doing so would materialize thes...
New
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1020 16971 374
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
New
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
PragmaticBookshelf
Author Spotlight: Tammy Coron @Paradox927 Gaming, and writing games in particular, is about passion, vision, experience, and immersio...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New

Latest in Questions

View all threads ❯