italia / spid-express

Express middleware implementing SPID & Entra con CIE (Carta d'Identità Elettronica)
MIT License
41 stars 16 forks source link

Fixed check on validateIssuer #81

Open P-et-ro opened 1 year ago

P-et-ro commented 1 year ago

This should fix test 28 failing in spid-test-sp: getElementsByTagNameNS is getting any nested element starting from fatherElement. If tag Issuer was not present as direct child of Response, authentication was still successful because of the Issuer child on Assertion tag.