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 a427cb1 commit 86f0ea0Copy full SHA for 86f0ea0
src/saml2/metadata.py
@@ -456,13 +456,13 @@ def do_spsso_descriptor(conf, cert=None):
456
ENDPOINTS["sp"]).items():
457
setattr(spsso, endpoint, instlist)
458
459
- # ext = do_endpoints(endps, ENDPOINT_EXT["sp"])
460
- # if ext:
461
- # if spsso.extensions is None:
462
- # spsso.extensions = md.Extensions()
463
- # for vals in ext.values():
464
- # for val in vals:
465
- # spsso.extensions.add_extension_element(val)
+ ext = do_endpoints(endps, ENDPOINT_EXT["sp"])
+ if ext:
+ if spsso.extensions is None:
+ spsso.extensions = md.Extensions()
+ for vals in ext.values():
+ for val in vals:
+ spsso.extensions.add_extension_element(val)
466
467
if cert:
468
encryption_type = conf.encryption_type
0 commit comments