Skip to content

Commit

Permalink
fix: policy loading on missing profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Aug 31, 2023
1 parent 81ef7f8 commit edde4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spid_cie_oidc/authority/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def entity_profiles(self):
def entity_statement_as_dict(self, iss: str = None, aud: list = None) -> dict:

policies = {
k: FEDERATION_DEFAULT_POLICY[k] for k in self.entity_profiles
k: FEDERATION_DEFAULT_POLICY.get(k, {}) for k in self.entity_profiles
}

# apply custom policies if defined
Expand Down

0 comments on commit edde4ca

Please sign in to comment.