Skip to content

Commit 88f66a8

Browse files
authored
Update README.md
for issue #249
1 parent 5a2142e commit 88f66a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ if not errors:
689689
else:
690690
print('Not authenticated')
691691
else:
692-
print("Error when processing SAML Response: %s" % (', '.join(errors)))
692+
print("Error when processing SAML Response: %s %s" % (', '.join(errors), auth.get_last_error_reason()))
693693
```
694694

695695
The SAML response is processed and then checked that there are no errors. It also verifies that the user is authenticated and stored the userdata in session.
@@ -748,7 +748,7 @@ if len(errors) == 0:
748748
else:
749749
print("Sucessfully Logged out")
750750
else:
751-
print("Error when processing SLO: %s" % (', '.join(errors)))
751+
print("Error when processing SLO: %s %s" % (', '.join(errors), auth.get_last_error_reason()))
752752
```
753753

754754
If the SLS endpoints receives a Logout Response, the response is validated and the session could be closed, using the callback.

0 commit comments

Comments
 (0)