From acae4fc8139690743eca9d5f19b1a96c2d0e28f7 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 30 Sep 2022 01:23:34 +0200 Subject: [PATCH 09/10] auth_saml: after logout response return to the logout view (#69720) --- src/authentic2_auth_saml/urls.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/authentic2_auth_saml/urls.py b/src/authentic2_auth_saml/urls.py index 340c8eca..1530de3a 100644 --- a/src/authentic2_auth_saml/urls.py +++ b/src/authentic2_auth_saml/urls.py @@ -17,5 +17,9 @@ from django.urls import include, re_path urlpatterns = [ - re_path(r'^accounts/saml/', include('mellon.urls'), kwargs={'template_base': 'authentic2/base.html'}) + re_path( + r'^accounts/saml/', + include('mellon.urls'), + kwargs={'template_base': 'authentic2/base.html', 'logout_next_url': '/logout/'}, + ) ] -- 2.37.2