Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

cvaldemar/redmine_saml_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  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

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

Patches, fixes or complete rewrites are welcome ;)

  • Enable/disable plugin from config

  • Disable and redirect /login to identity provider

  • Administration screen in Redmine interface

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

About

Simple SAML authentication for Redmine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages