Git Product home page Git Product logo

Comments (11)

timabbott avatar timabbott commented on May 22, 2024

I haven't had a chance to look in detail but from some quick googling it sounds like maybe Openhatch might have a Django plugin for mediawiki auth? openhatch/oh-mainline#580

from zulip.

timabbott avatar timabbott commented on May 22, 2024

It's now super easy to integrate things from https://github.com/omab/python-social-auth into Zulip; would it make sense to hook mediawiki into python-social-auth?

from zulip.

jayvdb avatar jayvdb commented on May 22, 2024

Note this has moved to https://github.com/python-social-auth

And there is already a MediaWiki backend at http://python-social-auth.readthedocs.io/en/latest/backends/mediawiki.html

Is there more that needs to be done on the MediaWiki/Wikimedia side?

from zulip.

timabbott avatar timabbott commented on May 22, 2024

@jayvdb good question! There is work that needs to be done on the Zulip side to add a MediaWiki auth backend, but I think that could be done with dozens of lines of code. However, we haven't added a second social auth backend before, so it may be a bit tricky. I'll take a look and probably some combination of myself and @umairwaheed can make this happen.

from zulip.

umairwaheed avatar umairwaheed commented on May 22, 2024

Yeah, given that they already have a backend for this, the integration apparently looks easy, but like Tim said we haven't added a new backend using Social Auth so can be tricky.

from zulip.

umairwaheed avatar umairwaheed commented on May 22, 2024

@zulipbot claim.

from zulip.

zulipbot avatar zulipbot commented on May 22, 2024

Hello @umairwaheed, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

from zulip.

umairwaheed avatar umairwaheed commented on May 22, 2024

(Waiting for a review)

from zulip.

timabbott avatar timabbott commented on May 22, 2024

#7234 has some useful work if someone wants to work on this again down the line, though one may be better off basing one's work on the GitHub auth backend code we have in production.

from zulip.

rht avatar rht commented on May 22, 2024

See also #10618 for the most recent PR on adding a new auth. This is to show that the complexity of the task is much less than > a year ago.

from zulip.

timabbott avatar timabbott commented on May 22, 2024

I'm going to close this as wontfix, since I'm not sure Mediawiki actually wants it, or whether anyone else would use it. With our current python-social-auth integration, it'd be ~50 lines of code to do I think, so it's mainly a question of there being a user whether we do it. I don't think we'll ever do it because this ultra-old issue exists, so it should be closed :).

from zulip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.