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 dafbc86 commit 95273d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions example/backends/spidsaml2.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,10 @@ 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 95273d0

Please sign in to comment.