mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
syncthing: 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
483f28de83
commit
cad6bc8ca0
@ -16,9 +16,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<Location /syncthing/>
|
<Location /syncthing/>
|
||||||
Include includes/freedombox-single-sign-on.conf
|
|
||||||
ProxyPass http://localhost:8384/
|
ProxyPass http://localhost:8384/
|
||||||
<IfModule mod_auth_pubtkt.c>
|
Use AuthOpenIDConnect
|
||||||
TKTAuthToken "admin" "syncthing-access"
|
Use RequireGroup syncthing-access
|
||||||
</IfModule>
|
|
||||||
</Location>
|
</Location>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user