Add shibboleth omniauth provider
The provider can be configured using the SHIB_* env variables. It is possible to map attributes to roles using the SHIB_ROLE_FIELDS env variable: assume you have configured your shibboleth SP to provide HTTP_AFFILIATION and HTTP_SHIB_EP_ENTITLEMENT. Any entry in those two attributes will be compared to the existing roles in greenlight. If such a role exists, it will be assigned. If the user has roles assigned which are not mentioned in those attributes, the roles will be removed from the user.
... | ... | @@ -48,6 +48,7 @@ gem 'bootsnap', '>= 1.1.0', require: false |
gem 'omniauth' | ||
gem 'omniauth-twitter' | ||
gem 'omniauth-google-oauth2' | ||
gem 'omniauth-shibboleth' | ||
gem 'omniauth-bn-office365', git: 'https://github.com/blindsidenetworks/omniauth-bn-office365.git', tag: '0.1.0' | ||
gem 'omniauth-bn-launcher', git: 'https://github.com/blindsidenetworks/omniauth-bn-launcher.git', tag: '0.1.3' | ||
gem 'bn-ldap-authentication', git: 'https://github.com/blindsidenetworks/bn-ldap-authentication.git' | ||
... | ... |
Please register or sign in to comment