/simplesamlphp-module-shib2idpnameid

Generates Shibboleth like format PersistentNameID

Primary LanguagePHPGNU Lesser General Public License v2.1LGPL-2.1

Shib2nameID modul for SimpleSAMLphp

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'
),