Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux authored Mar 14, 2024
1 parent b85a729 commit dafbc86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/backends/spidsaml2.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,8 @@ def authn_response(self, context, binding):
"acr_mapping not defined in the spid backend"
)
return self.handle_error(
**{"message": "acr_mapping not defined in the spid backend", "troubleshoot": "Please contact the administrators of the platform and tell them to configure properly the acr_mapping in the SPID/CIE backend"}
**{"message": "acr_mapping not defined in the spid backend",
"troubleshoot": "Please contact the administrators of the platform and tell them to configure properly the acr_mapping in the SPID/CIE backend"}
)
acr_default = acr_map.get("", "https://www.spid.gov.it/SpidL2")
authn_context_classref = acr_map.get(issuer, acr_default)
Expand Down

0 comments on commit dafbc86

Please sign in to comment.