Skip to content

Commit

Permalink
fix: SAML2 Issuer format SPID test 30, issuer MAY be omitted
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Feb 21, 2024
1 parent 1b694e7 commit 1dac757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/backends/spidsaml2_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def validate_issuer(self):
# 30
# check that this issuer is in the metadata...
# L'attributo Format di Issuer della Response deve essere omesso o assumere valore urn:oasis:names:tc:SAML:2.0:nameid-format:entity. In questo test il valore è diverso. Risultato atteso: KO
if hasattr(self.response.issuer, "format"):
if hasattr(self.response.issuer, "format") and self.response.issuer.format:
if (
self.response.issuer.format
!= "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
Expand Down

0 comments on commit 1dac757

Please sign in to comment.