The cwd_saml_mapping module is a module that used with drupal/saml_sp allows for the following
- Authentication through multiple IDP's ex. Cornell Test, Weill Test, Cornell Production Shibboleth
- Configuration of which IDP to use in production (test or prod) and hooks all other non prod instance to test Shibboleth
- Auto role assignment via a Saml Role Mapping config entity
- Ability to map saml data into Drupal user fields
- Ability to add redirect per role on longin
- Ability to add redirect per role on logout
This module depends on the drupal/saml_sp module.
composer require cubear/cwd_saml_mapping
drush en cwd_saml_mapping
- Enable the module as you would any other module
- Configure the global module settings: /admin/config/people/cwd-saml-mapping-config
- Configure the roles you want mapped: /admin/config/people/cwd-saml-mapping-config/saml-role-mapping
- Configure field mapping form saml to Drupal user fields: /admin/config/people/cwd-saml-mapping-config/saml-field-mapping
- Configure login redirect: /admin/config/people/cwd-saml-mapping-config/saml-login-redirect
- Configure logout redirects: /admin/config/people/cwd-saml-mapping-config/saml-logout-redirect
Current maintainers for Drupal 10:
- Bill Juda