SP metadata is lacking the AttributeConsumingService key
Opened this issue · 3 comments
simevo commented
SP metadata is lacking the AttributeConsumingService key
simevo commented
we can use this schema for validation:
https://github.com/italia/spid-metadata-builder/blob/master/saml-schema-metadata-SPID-SP.xsd
simevo commented
add these two keys to the $settings array:
// assertion consuming services
// in this array, the order is important: the 0-base index will be used
// as assertion consuming service index in the API calls
'assCs' => array(
$base . "/acs.php", // full url
$base . "/acs1.php", // full url
),
// attribute consuming services
// in this array, the order is important: the 0-base index will be used
// as attribute consuming service index in the API calls
'attrCs' => array(
array('name', 'familyName', 'fiscalNumber', 'email'),
array('fiscalNumber', 'email')
),