niif/simplesamlphp-module-shib2idpnameid

Filter to generate generate PersistentNameID (and the value for eduPersonTargetedID) with the same algorithm as Shibboleth IdP does.

v1.3 2020-02-07 16:16 UTC

README

This modul can generate PersistentNameID (and the value for eduPersonTargetedID) with the same algorithm as Shibboleth IdP does. You would need this module if you migrate your IdP from Shibboleth to SimpleSAMLphp, and don't want the ePTID values to be changed.

Usage

You have to use the same secretsalt as you did at Shibboleth IdP.

Put into the authproc.idp section:

5 => array(
       'class' => 'shib2idpnameid:PersistentNameID',
       'nameId' => true,
       'attribute' => 'uid',
       'attributename' => 'eduPersonTargetedID'
),