Discourse uses OmniAuth which already has a MediaWiki plugin so all that's needed here is the scaffolding to turn the OmniAuth plugin into a Discourse plugin. For a typical site that's supported by OmniAuth the auth plugin is just a few dozen lines of declarative code.
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | None | T155678 Provide an easy to use support system for contributors to ask technical questions | |||
Declined | None | T180853 Bring a discourse instance for technical questions to production | |||
Duplicate | None | T124690 Successful pilot of Discourse on https://discourse.wmflabs.org/ as an alternative to wikimedia-l mailinglist | |||
Declined | None | T124691 Configure Single Sign On at discourse.wmflabs.org | |||
Declined | None | T227035 Cant log into discuss space in discourse Android app, 503 | |||
Declined | elappen-WMF | T231606 Commissioned Discuss Space features Sept-Dec 2019 | |||
Resolved | elappen-WMF | T215052 Add MediaWiki login support to Discourse | |||
Resolved | elappen-WMF | T231878 Wikimedia login plugin for Discourse should accept only one Wikimedia account per email address | |||
Resolved | elappen-WMF | T231879 Wikimedia login plugin for Discourse shouldn't require "real name" from MediaWiki |
Event Timeline
If what Gergo says it's true, implementing this feature might be simpler than trying to debug and fix T226545: Loop trying to create an account in Wikimedia Space in certain cases.
@elappen-WMF, just to start somewhere, can you ask our Discourse contractor to have a look to this task and see whether he (or someone he knows) can implement Wikimedia login via OmniAuth?
The developer has begun work on this, and is pursuing implementing the existing Wikimedia OmniAuth Strategy in Discourse.
A first version of the Wikimedia login plugin for Discourse is available at https:// discourse-mediawiki.wmflabs.org. Testers wanted!
https://discourse-mediawiki.wmflabs.org/t/testing-wikimedia-login-for-this-discourse-instance/1460
As soon as we are confident about the quality of this plugin we will install it here in Space and we will remove the Phabricator login workaround.
@elappen-WMF, I installed and configured the plugin in discourse-mediawiki, @Tgr approved the OAuth client request, and I gave Angus admin permissions to discourse-mediawiki. With this, you should have everything you need to check feedback and fine tune as needed.
Let me know when the plugin is ready for discuss-space, and I will install it and configure it there.
Wikimedia login is now deployed on Space. I have released notifying people of this change, and informing them what to do in the case of account duplication.