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.

Where Next?

Popular Backend topics Top

New
Rainer
Is there somewhere a good introduction to rust for experienced programmers (with years of C++/C#/Java experience)? Wanted to give it a t...
New
IhorYachmenov
Hello. I have an iOS app where needs a proxying website through private server(HTTP / HTTPS proxy), but its idea each time has some trou...
New
joshi
Hey everybody! I’m working on the project that includes import of Oracle data to PostgreSQL. That data comes as Oracle export (expdp) fi...
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
Ookma-Kyi
I am learning Elixir at the moment but am finding it difficult to learn. The issue is there aren’t any good tutorial sites out there when...
New
Fl4m3Ph03n1x
Background While playing around with dialyzer, typespecs and currying, I was able to create an example of a false positive in dialyzer. ...
New
Fl4m3Ph03n1x
Background PS: the following situation describes an hypothetical scenario, where I own a company that sells things to customers. I have ...
New
AstonJ
If when trying to create (or recreate) your dev db with rails db:create you are getting: PG::ConnectionBad: connection to server on soc...
New
New

Other popular topics Top

DevotionGeo
I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New
AstonJ
SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
New
AstonJ
Seems like a lot of people caught it - just wondered whether any of you did? As far as I know I didn’t, but it wouldn’t surprise me if I...
New
foxtrottwist
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New