Skip to content

Commit 6ba7a8d

Browse files
committed
Fix subject-id requirements processing
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
1 parent e60755e commit 6ba7a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/saml2/assertion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def restrict(self, ava, sp_entity_id, metadata=None):
561561
requirements_subject_id = metadata_store.subject_id_requirement(sp_entity_id) if metadata_store else []
562562
for r in requirements_subject_id:
563563
if r not in required_attributes:
564-
required_attributes.extend(r)
564+
required_attributes.append(r)
565565
return self.filter(
566566
ava,
567567
sp_entity_id,

0 commit comments

Comments
 (0)