Posts

Showing posts from February, 2023

Authenticating Mediawiki with OAuth2

Image
  It's the year 2023 and there must be a way to authenticate Mediawiki (MW) with OAuth2. Currently the LTS version of Mediawiki is 1.39.1. My OAuth2 and OpenID provider is Keycloak.  It can be accomplished with the extension  OpenID Connect . It's simple, once you have the dependencies in place. I spent more time providing "composer" as a dependence than configuring the SSO part. Hera are the relevant parts of  theDockerfile: FROM registry.procempa.com.br/mediawiki:1.39.1 COPY composer.local.json composer.local.json RUN  wget https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_39-e7de886.tar.gz &&\ wget https://extdist.wmflabs.org/dist/extensions/OpenIDConnect-REL1_39-0fefe8b.tar.gz &&\ tar -zxvf PluggableAuth-REL1_39-e7de886.tar.gz -C extensions &&\ tar -zxvf OpenIDConnect-REL1_39-0fefe8b.tar.gz -C extensions &&\ chown -R www-data:www-data extensions #Composer as dependency for OpendIDConnect     #https://tecadmin.net/how-to

Back after a long time

Image
It's been a long time since the last post. Exactly 4 years and 27 days. Right after the last post I started lecturing at UniRitter (again) for 3 years, and worked as Technical Writer for Plume Design for another year, and those activities kept me busy (enough) along with my day job and my lovely family. Now, apparently, I have time left to write again about the small daily victories of an IT generalist and enthusiast. So, lets go again. At least until the next pause.