No commit activity in last 3 years
No release in over 3 years
Adds the OmniAuth CAS provider to OpenProject
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 1.1.0, ~> 1.1
 Project Readme

OpenProject OmniAuth CAS Single-Sign On

Dependency Status Code Climate

This plugin provides the OmniAuth CAS strategy into OpenProject.

Installation

Add the following entries to your Gemfile.plugins in your OpenProject root directory:

gem "openproject-auth_cas", git: 'git@github.com:oliverguenther/openproject-auth_cas', branch: 'stable'

For OpenProject < 8.2.0, please manually add the Auth Plugins gem before adding openproject-auth_cas:

gem 'openproject-auth_plugins', git: 'git@github.com:finnlabs/openproject-auth_plugins', branch: 'stable'
gem "openproject-auth_cas", git: 'git@github.com:oliverguenther/openproject-auth_cas', branch: 'stable'

Requirements

Configuration

To add your own CAS strategy provider(s), create the following settings file (relative to your OpenProject root):

config/plugins/auth_cas/settings.yml

with the following contents:

your-provider-name:
  name: "your-provider-name"
  url: "https://sso.example.org"
  display_name: "My CAS provider"
  # Use the default CAS icon
  icon: "auth_provider-cas.png"
  # Extended Attributes mapping
  uid_key: "username"

The plugin simply passes all options to omniauth-cas. See their configuration documentation for further details.

Multiple Providers

If you have the use-case of multiple CAS / Single-Sign On providers, simply add several providers to your yaml config, OpenProject will handle the rest automatically.

Custom Provider Icon

To add a custom icon to be rendered as your omniauth provider icon, add an image asset to OpenProject and reference it in your settings.yml:

icon: "my/asset/path/to/icon.png"

Copyrights & License

OpenProject CAS Auth is completely free and open source and released under the MIT License.

Copyright (c) 2014-2019 Oliver Günther (mail@oliverguenther.de)

The default provider icon is a combination of icons from Font Awesome by Dave Gandy.