cirrusidentity / simplesamlphp-module-shib2idpnameid
Filter to generate generate PersistentNameID (and the value for eduPersonTargetedID) with the same algorithm as Shibboleth IdP does.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 3
Type:simplesamlphp-module
Requires
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- phpunit/phpunit: ^10
- rector/rector: ^0.18.3
- simplesamlphp/simplesamlphp-test-framework: ^1.7
- squizlabs/php_codesniffer: ^3.7
- vimeo/psalm: ^5
This package is not auto-updated.
Last update: 2025-05-01 16:41:48 UTC
README
This module 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',
// Required only when PersistentNameID2TargetedID class is used
'nameId' => true,
'attribute' => 'uid',
'attributename' => 'eduPersonTargetedID'
),