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 e9ba215 commit 15a8da5Copy full SHA for 15a8da5
src/saml2/metadata.py
@@ -1,4 +1,5 @@
1
#!/usr/bin/env python
2
+from saml2.algsupport import algorithm_support_in_metadata
3
from saml2.md import AttributeProfile
4
from saml2.sigver import security_context
5
from saml2.config import Config
@@ -728,6 +729,12 @@ def entity_descriptor(confd):
728
729
item = mdattr.EntityAttributes(attribute=attr)
730
entd.extensions.add_extension_element(item)
731
732
+ if not entd.extensions:
733
+ entd.extensions = md.Extensions()
734
+
735
+ for item in algorithm_support_in_metadata(confd.xmlsec_binary):
736
+ entd.extensions.add_extension_element(item)
737
738
serves = confd.serves
739
if not serves:
740
raise SAMLError(
0 commit comments