emory-libraries / web-enhance

3 stars 0 forks source link

Update simplesamlphp attributes #9

Closed lovinscari closed 1 year ago

lovinscari commented 2 years ago

Previously, our simplesamlphp configuration in Drupal tried to match the unique_id attribute to the mail_attr attribute. Unfortunately, simplesamlphp seems to only look for the unique_id attribute in the user_name attribute field. PR #653 updated the unique_id attribute to the same value as the user_name attribute. Unfortunately our current configuration has the user_name attribute set to an individuals preferred name in shib (urn:oid:2.16.840.1.113730.3.1.241) rather than their shib attribute that contains the netid. Ideally, we would be pulling in shib's netid attribute as Drupal's user_name attribute. Here is a list of attributes available in shib: attribute-map.xml (OneDrive document)