From af892adb5ef90031e34fb62faef128dc4d380628 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 24 Nov 2025 08:56:57 -0800 Subject: [PATCH] deluge: Use OpenID Connect instead of pubtkt based SSO Tests: - Functional tests work. - Admin user is able to access the application - User belonging to special group is able to access the application - Regular user is not able to access the application - Anonymous user is not able to access the application Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- .../etc/apache2/conf-available/deluge-plinth.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plinth/modules/deluge/data/usr/share/freedombox/etc/apache2/conf-available/deluge-plinth.conf b/plinth/modules/deluge/data/usr/share/freedombox/etc/apache2/conf-available/deluge-plinth.conf index f89dd42a2..efd742b0b 100644 --- a/plinth/modules/deluge/data/usr/share/freedombox/etc/apache2/conf-available/deluge-plinth.conf +++ b/plinth/modules/deluge/data/usr/share/freedombox/etc/apache2/conf-available/deluge-plinth.conf @@ -8,10 +8,8 @@ ## ProxyPass http://localhost:8112 - Include includes/freedombox-single-sign-on.conf - - TKTAuthToken "admin" "bit-torrent" - + Use AuthOpenIDConnect + Use RequireGroup bit-torrent ## Send the scheme from user's request to enable Deluge to redirect URLs, ## set cookies, set absolute URLs (if any) properly. RequestHeader set X-Forwarded-Proto 'https' env=HTTPS