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 b63f82a commit d328cd8Copy full SHA for d328cd8
src/saml2/metadata.py
@@ -499,12 +499,13 @@ def do_spsso_descriptor(conf, cert=None):
499
for acs in spsso.attribute_consuming_service:
500
if not acs.requested_attribute:
501
acs.requested_attribute = requested_attributes
502
+ else:
503
+ spsso.attribute_consuming_service = [md.AttributeConsumingService(
504
+ requested_attribute=requested_attributes,
505
+ service_name=[md.ServiceName(lang="en", text=conf.name)],
506
+ index="1",
507
+ )]
508
-# spsso.attribute_consuming_service = [md.AttributeConsumingService(
-# requested_attribute=requested_attributes,
-# service_name= [md.ServiceName(lang="en",text=conf.name)],
-# index="1",
-# )]
509
# try:
510
# if conf.description:
511
0 commit comments