Skip to content

Commit 5fda881

Browse files
committed
local Logout - indipendent by IdP SLO Response
1 parent 4af640c commit 5fda881

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Changes
22
=======
33

4-
0.40.0 (2020-08-X)
4+
0.40.0 (2020-08-07)
55
-------------------
66
- Allow a SSO request without any attributes besides the NameID info. Backwards-incompatible changes to allow easier behaviour differentiation, two methods now receive the idp identifier (+ **kwargs were added to introduce possible similar changes in the future with less breaking effect):
77
- Method signature changed on Saml2Backend.clean_attributes: from `clean_attributes(self, attributes: dict)` to `clean_attributes(self, attributes: dict, idp_entityid: str, **kwargs)`
88
- Methodignature changed on Saml2Backend.is_authorized: from `is_authorized(self, attributes: dict, attribute_mapping: dict)` to `is_authorized(self, attributes: dict, attribute_mapping: dict, idp_entityid: str, **kwargs)`
99
- SAML session refactor and minor changes in README file
10+
- local Logout - indipendent by IdP SLO Response
1011

1112
0.30.0 (2020-07-30)
1213
-------------------

djangosaml2/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ def logout(request, config_loader_path=None):
457457
state.sync()
458458
return HttpResponseRedirect(settings.LOGOUT_REDIRECT_URL)
459459

460+
auth.logout(request)
460461
state.sync()
461462

462463
if not result:

0 commit comments

Comments
 (0)