-
-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix RP-initiated Logout with expired Django session #1270
Fix RP-initiated Logout with expired Django session #1270
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1270 +/- ##
==========================================
+ Coverage 97.19% 97.29% +0.10%
==========================================
Files 31 31
Lines 1994 1996 +2
==========================================
+ Hits 1938 1942 +4
+ Misses 56 54 -2
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
4f22a3a
to
d65cb9a
Compare
Co-authored-by: François Freitag <mail@franek.fr>
Co-authored-by: François Freitag <mail@franek.fr>
Co-authored-by: François Freitag <mail@franek.fr>
for more information, see https://pre-commit.ci
@tonial good catch. I'm not super jazzed about the complex return type from _validate_logout_request. I feel like that could be broken up into a few discrete methods on the RPInitiatedLogoutView and more of the validation workflow could be lifted up into form_valid. Once I complete some local testing, I'll merge so we fix the breakage. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Fixes #1269
Description of the Change
Fix RP initiated logout when there's no django session available.
Checklist
CHANGELOG.md
updated (only for user relevant changes)AUTHORS