OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/modules/auth_saml
Oliver Günther 913f968ad0
Merge remote-tracking branch 'origin/dev' into merge/table-refresh
6 years ago
..
app/assets/images
lib Merge remote-tracking branch 'origin/dev' into merge/table-refresh 6 years ago
README.md
openproject-auth_saml.gemspec

README.md

OpenProject OmniAuth SAML Single-Sign On

This plugin provides the OmniAuth SAML strategy into OpenProject.

Installation

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

gem 'openproject-auth_plugins', git: 'https://github.com/finnlabs/openproject-auth_plugins', branch: 'stable'
gem "openproject-auth_saml", git: 'https://github.com/finnlabs/openproject-auth_saml', branch: 'stable'

Requirements

Configuration

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

config/plugins/auth_saml/settings.yml

with the following contents:

your-provider-name:
  name: "your-provider-name"
  display_name: "My SAML provider"
  # Use the default SAML icon
  icon: "auth_provider-saml.png"
  # omniauth-saml config
  assertion_consumer_service_url: "consumer_service_url"
  issuer: "issuer"
  idp_sso_target_url: "idp_sso_target_url"
  idp_cert_fingerprint: "E7:91:B2:E1:..."
  attribute_statements:
    email: ['mailPrimaryAddress']
    name: ['gecos']
    first_name: ['givenName']
    last_name: ['sn']
    admin: ['openproject-isadmin']

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

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 SAML Auth is completely free and open source and released under the MIT License.

Copyright (c) 2016 OpenProject GmbH

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