Hi, is it possible to integrate Discourse into a Phyton based Django site? I ask because Discourse’s backend is written in Ruby on Rails. Many thanks, Torsten
AI-generated summary
The discussion revolves around integrating Discourse into a Django-based website, despite Discourse being built on Ruby on Rails. Openmind initiates the query, seeking to understand the feasibility of such integration. bartv clarifies that Single Sign-On (SSO) integration is possible and relatively straightforward, especially for basic user authentication and data synchronization, referencing their own successful implementation. Openmind confirms this aligns with their needs. vinothkannans shares a link to a Django SSO example, though it’s noted as potentially inaccessible. Daniel_McQuillen seeks further guidance and references a GitHub gist by alee as a potential resource. shawnngtq echoes the need for updated documentation, highlighting that solutions from two years ago may no longer be valid.
It might help if you could describe what you’re trying to achieve. Our main site runs on Django and it was fairly easy to set up SSO for Discourse. Other than logging in and copying some basic user info, that’s all the integration we need. So if that’s enough for you too, then yes ![]()
Yes, that’s pretty much what I wanted to hear
Many thanks for your swift response.
@vinothkannans Thanks for posting that link. However, it isn’t available or is private. Do you know if that example for sso with Django is available publicly?
@bartv any links / more thoughts you could share on examples of sso between Django <> Discourse
Thanks!
For anyone else looking I did find this gist:
Anyone has any links/doc/guide to share?
It has been close to 2 years so what used to work may become invalid ![]()