Skip to content
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

Logout with redirect on Django 4.1+ #416

Open
fzzylogic opened this issue Dec 31, 2023 · 0 comments
Open

Logout with redirect on Django 4.1+ #416

fzzylogic opened this issue Dec 31, 2023 · 0 comments

Comments

@fzzylogic
Copy link

fzzylogic commented Dec 31, 2023

Noticed this, just mentioning fwiw. From 4.1, Django requires POST to logout.

EndSessionView inherits from LogoutView, so redirect to end_session_endpoint is blocked in Django 4.1+.

Redirect is correct as per the OID spec. Maybe have an intermediate function that posts to EndSession?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant