cubear/cwd_saml_mapping

Drupal Custom module to extend functionality of drupal/saml_sp. Allows for mapping of saml properties into user fields and for automatic role assignment.

Installs: 2 583

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 15

Forks: 0

Open Issues: 5

Type:drupal-custom-module

v2.0.3 2024-09-18 13:05 UTC

README

Latest Stable Version

INTRODUCTION

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

REQUIREMENTS

This module depends on the drupal/saml_sp module.

INSTALLATION

composer require cubear/cwd_saml_mapping

drush en cwd_saml_mapping

CONFIGURATION

  • 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

MAINTAINERS

Current maintainers for Drupal 10:

  • Bill Juda