transmission: 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 <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2025-11-24 08:58:41 -08:00 committed by James Valleroy
parent 29ef56b51e
commit 68126c3ec6
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -19,10 +19,8 @@
Require ldap-group cn=bit-torrent,ou=groups,dc=thisbox
</If>
<Else>
Include includes/freedombox-single-sign-on.conf
<IfModule mod_auth_pubtkt.c>
TKTAuthToken "admin" "bit-torrent"
</IfModule>
Use AuthOpenIDConnect
Use RequireGroup bit-torrent
</Else>
## Send the scheme from user's request to enable Transmission to