File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33Enterprise-grade, database-driven form builder with approval workflows
44"""
55
6- __version__ = "0.5.15 "
6+ __version__ = "0.5.16 "
77__author__ = "Django Forms Workflows Contributors"
88__license__ = "LGPL-3.0-only"
99
Original file line number Diff line number Diff line change @@ -139,8 +139,12 @@ def post(self, request):
139139 errors = auth .get_errors ()
140140
141141 if errors :
142+ last_error_reason = auth .get_last_error_reason ()
142143 logger .error (f"SAML authentication errors: { errors } " )
143- return HttpResponseBadRequest (f"SAML authentication failed: { errors } " )
144+ logger .error (f"SAML last error reason: { last_error_reason } " )
145+ return HttpResponseBadRequest (
146+ f"SAML authentication failed: { errors } . Reason: { last_error_reason } "
147+ )
144148
145149 if not auth .is_authenticated ():
146150 return HttpResponseBadRequest ("SAML authentication failed" )
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " django-forms-workflows"
3- version = " 0.5.15 "
3+ version = " 0.5.16 "
44description = " Enterprise-grade, database-driven form builder with approval workflows and external data integration"
55license = " LGPL-3.0-only"
66readme = " README.md"
You can’t perform that action at this time.
0 commit comments