Salve,
ho seguito la documentazione per la configurazione, sono riuscito a fare tutto il giro fino all'invocazione dell'idp demo.
Il problema è nel messaggio AuthnRequest, risultano i seguenti errori:
{
test_id: '',
result: 'failure',
test: 'The Destination attribute SHOULD be the address to which the request has been sent but can also be the EntityID of IdP (Av. SPID n.11)',
value: 'https://localhost:8443/demo/samlsso',
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The Format attribute MUST be present',
value: '{}',
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The Format attribute MUST have a value',
value: 'None',
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The Format attribute MUST be urn:oasis:names:tc:SAML:2.0:nameid-format:entity',
value: 'None',
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The NameQualifier attribute MUST be present',
value: '{}',
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The NameQualifier attribute MUST have a value',
value: 'None',
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The ForceAuthn attribute MUST be present if SPID level > 1',
value: "['https://www.spid.gov.it/SpidL2']",
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The AttributeConsumingServiceIndex attribute MUST be present',
value: "{'AssertionConsumerServiceURL': 'https://spid.xxx.it/Shibboleth.sso/SAML2/POST', 'Destination': 'https://localhost:8443/demo/samlsso', 'ID': '_be906f743edc7a55943f27f90f87f5f7', 'IssueInstant': '2021-11-06T15:07:26Z', 'ProtocolBinding': 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', 'Version': '2.0'}",
references: [],
method: ''
}
{
test_id: '',
result: 'failure',
test: 'The AllowCreate attribute MUST not be present',
value: 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient',
references: [],
method: ''
}
Ho configurato shibboleth SP come indicato nella documentazione all'indirizzo https://github.com/italia/spid-sp-shibboleth, questo comportamento differente può dipendere dalla versione utilizzata?
shibboleth-embedded-ds-1.2.2-3.1.noarch
shibboleth-3.2.3-3.1.x86_64
Grazie dell'aiuto