Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/satosa/frontends/saml2.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,10 @@ def _overlay_for_saml_metadata(self, config, co_name):

:return: config with updated details for SAML metadata
"""
co_config = self._get_co_config(co_name)
all_co_configs = self.config[self.KEY_CO]
co_config = next(
item for item in all_co_configs if item[self.KEY_ENCODEABLE_NAME] == co_name
)

key = self.KEY_ORGANIZATION
if key in co_config:
Expand Down