mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
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 <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
4ab2007c99
commit
af892adb5e
@ -8,10 +8,8 @@
|
||||
##
|
||||
<Location /deluge>
|
||||
ProxyPass http://localhost:8112
|
||||
Include includes/freedombox-single-sign-on.conf
|
||||
<IfModule mod_auth_pubtkt.c>
|
||||
TKTAuthToken "admin" "bit-torrent"
|
||||
</IfModule>
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user