Coder Social home page Coder Social logo

redmine_saml_auth's Introduction

Redmine SAML authentication plugin

This redmine plugin enables SAML authentication using the Onelogin toolkit.

The plugin adds two new routes, for the SAML discovery and consumer actions. The discovery (/auth/saml) initiates the SAML exchange and the consumer (/auth/saml/consumer) recieves the SAML assertion and logs the user in.

NB: Work in progress, but functional, see TODO for where this is heading.

Installation

  1. Install required gems

gem install XMLCanonicalizer
gem install ruby-saml
  1. Copy plugin to vendor/plugins

  2. Copy saml_auth.yml.example to config/saml_auth.yml

  3. Configure saml_auth.yml (see below)

  4. Restart webserver/passenger/mongrel_rails

Configuration

Open saml_auth.yml and set up the plugin, a sample configuration is provided. Restart passenger/mongrel after changes to configuration.

Use the following routes to configure your IdP

  • Login: redmine.example.com:3000/auth/saml

  • Consumer: redmine.example.com:3000/auth/saml/consume

Notes

Patches, fixes or complete rewrites are welcome ;)

Todo

  • Enable/disable plugin from config

  • Disable and redirect /login to identity provider

  • Administration screen in Redmine interface

License and copyright

Copyright © 2011 Casper Valdemar Poulsen. License follows Redmine - GNU General Public License v2 (GPL).

redmine_saml_auth's People

Contributors

cvaldemar avatar

Watchers

Adam Štrauch avatar James Cloos 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.