We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55fa924 commit 076563bCopy full SHA for 076563b
src/saml2/mdstore.py
@@ -207,7 +207,7 @@ def attribute_requirement(entity_descriptor, index=None):
207
if index is not None and acs["index"] != index:
208
continue
209
210
- for attr in acs["requested_attribute"]:
+ for attr in (acs.get("requested_attribute") or []):
211
if attr.get("is_required") == "true":
212
res["required"].append(attr)
213
else:
0 commit comments