'attributes' =>
array (
0 => 'gfipm:2.0:user:GivenName',
1 => 'gfipm:2.0:user:SurName',
2 => 'gfipm:2.0:user:FederationId',
3 => 'gfipm:2.0:user:EmailAddressText',
),
'attributes.NameFormat' => 'urn:oasis:names:tc:SAML:2.0:attrname-format:uri',
'name' =>
array (
'en' => 'GFIPM Reference Service Provider',
),
'description' =>
array (
),
None of the above looks immediately problematic, but when the above shows up in the PHP config (saml20-sp-remote.php) it looks like the authproc that I have configured in saml20-idp-hosted.php is not being executed properly. My authproc uses the smartid module which fails because smartid generates an ID based on an internal attribute not in the above list (which then gets mapped to one of the above in a later authproc map)... I commented out the smartid module from the authproc in saml20-idp-hosted.php assuming there was a bug within it that I would have to debug, and at this point I get no errors but simplesaml sends no attributes to the SP (there is a valid SAML Assertion and Response otherwise, but no AttributeStatement is included).
If I delete the above section from saml20-sp-remote.php everything works fine.
Should I move the authproc filters into the base config/config.php? If simplesamlphp is going to be smart about only sending attributes that are specifically requested that would be a fantastic feature, but right now, the act of requesting specific attributes causes no attributes to be sent, which cannot obviously be correct...
Thanks,
Jeff
--
You received this message because you are subscribed to the Google Groups "simpleSAMLphp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simplesamlph...@googlegroups.com.
To post to this group, send email to simple...@googlegroups.com.
Visit this group at http://groups.google.com/group/simplesamlphp.
For more options, visit https://groups.google.com/d/optout.