CanastaWiki / Canasta

MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.
https://www.canasta.wiki
MIT License
36 stars 27 forks source link

Add Extension:OAuth #237

Open harej opened 1 year ago

harej commented 1 year ago

The OAuth extension is used in Wikimedia production and many other places. It is needed if you have a wiki that is used as an identity provider for web apps used for editing that wiki. It is useful in general.

https://www.mediawiki.org/wiki/Extension:OAuth

jeffw16 commented 1 year ago

Hmm, how often do people use MediaWiki as an IdP outside of the WMF?

harej commented 1 year ago

It is also useful if your wiki has bots, as an alternative to using passwords. For Wikibase it is required for the different web apps that come with it in a typical deployment. Outside of that, not sure.

freephile commented 1 year ago

The exact details are inaccessible to me now, but the OAuth extension is what I used to create a POC when I needed to provide authorization to an external agent (crawler) to gain access to an otherwise restricted MediaWiki (authentication required) without having to create a fake "user" in the Auth service. Instead, the OAuth extension allowed me to create a 'bot' OAuth consumer account with restricted set of permissions to use the MediaWiki API