Skip to content

Commit 770ad42

Browse files
committed
saml frontend: remove metadata param when applying the set policy
This param was deprecated by pysaml2 v6.3.0 Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 501a63a commit 770ad42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/satosa/frontends/saml2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def _get_approved_attributes(self, idp, idp_policy, sp_entity_id, state):
282282
for aconv in attrconvs:
283283
if aconv.name_format == name_format:
284284
all_attributes = {v: None for v in aconv._fro.values()}
285-
attribute_filter = list(idp_policy.restrict(all_attributes, sp_entity_id, idp.metadata).keys())
285+
attribute_filter = list(idp_policy.restrict(all_attributes, sp_entity_id).keys())
286286
break
287287
attribute_filter = self.converter.to_internal_filter(self.attribute_profile, attribute_filter)
288288
msg = "Filter: {}".format(attribute_filter)

0 commit comments

Comments
 (0)