Giter Site home page Giter Site logo

casauth's Introduction

CASAuth(entication) Extension for Mediawiki

A CAS Authentication extension for Mediawiki 1.27, 1.23 (and possibly earlier).

Introduction

The CASAuth extension facilitates CAS authentication for your Mediawiki installation. This particular code is derived from work found here.

This code is customized towards usage for private wikis, with the ability to restrict access to the wiki to specific usernames.

This extension is currently written for and tested against Mediawiki 1.27 and 1.23 with phpCAS 1.3.3. However, if you find it works well against a different version of Mediawiki and/or phpCAS, please feel free to let me know and I will keep track of it in this README.

Installation

Assuming a working CAS system, installation should take under 15 minutes. Assume $WIKI is the directory for your wiki.

  1. Create folder $WIKI/extensions/CASAuth/

  2. Download this source code into that directory

  3. Download the phpCAS extension and extract it to the folder $WIKI/extensions/CASAuth/CAS/

  4. Add the following line to your LocalSettings.php

    require_once( "$IP/extensions/CASAuth/CASAuth.php" );
  5. In the $WIKI/extensions/CASAuth/ directory, copy the CASAuthSettings.php.template file to CASAuthSettings.php and modify it for your environment.

  6. You should now have working CAS authentication for your wiki!

Credits

Source code found here is derived from the extension found here, originally written by Ioannis Yessios.

casauth's People

Contributors

amirdt22 avatar arusso avatar jpgill86 avatar

Watchers

 avatar

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.