Giter Club home page Giter Club logo

casauth's Introduction

CAS Authentication

Use CAS as authentication provider for Kanboard.
Plugin originally developed for École des Ponts ParisTech needs. Continued by Manuel Raposo @eSkiSo

Requirements

  • Kanboard >= 1.2.5

Installation

You have the choice between 2 methods:

  1. Download the zip file and decompress everything under the directory plugins/CASAuth
  2. Clone this repository into the folder plugins/CASAuth

Note: Plugin folder is case-sensitive.

You also need to install jasig's phpCas library. Easiest way is to do it through composer.
Through a terminal, inside your Kanboard's root directory, launch following command :

composer require apereo/phpcas 

You will also need to create a phpCas.log file inside a log folder :

mkdir log
cd log
touch phpCas.log

Make sure that newly created file and folder have required permissions for the application to write into them.

Configuration

You need to define new parameters in your config.php :

define('CAS_HOSTNAME', 'cas.example.com');
// Your CAS server port, make sure not to put quotes around port number
define('CAS_PORT', 443);
define('CAS_URI', 'cas');

You also need to make sure that both HIDE_LOGIN_FORM and DISABLE_LOGOUT are set to true (in your config.php).

You should now be ready to go and going to your-kanboard-url.fr, when not logged in, should redirect you to your CAS login page.

Contributors

casauth's People

Watchers

Eskiso 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.