From 95273d0af69acba147c0e3adafa123acbbec4ed0 Mon Sep 17 00:00:00 2001 From: Giuseppe De Marco Date: Thu, 14 Mar 2024 09:59:33 +0100 Subject: [PATCH] Apply suggestions from code review --- example/backends/spidsaml2.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/example/backends/spidsaml2.py b/example/backends/spidsaml2.py index e1244d2b..489b4499 100644 --- a/example/backends/spidsaml2.py +++ b/example/backends/spidsaml2.py @@ -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)