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 2042c95 commit 184a023
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/backends/spidsaml2_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def validate_issuer(self):

# 30
# check that this issuer is in the metadata...
if self.response.issuer.format:
# 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 (
self.response.issuer.format
!= "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
Expand Down

0 comments on commit 184a023

Please sign in to comment.