mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
tiddlywiki: 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
64272a2bef
commit
efe2bccb11
@ -6,10 +6,8 @@ Alias /tiddlywiki /var/lib/tiddlywiki
|
|||||||
|
|
||||||
<Location /tiddlywiki>
|
<Location /tiddlywiki>
|
||||||
SetEnvIf Request_Method HEAD no-gzip
|
SetEnvIf Request_Method HEAD no-gzip
|
||||||
Include includes/freedombox-single-sign-on.conf
|
Use AuthOpenIDConnect
|
||||||
<IfModule mod_auth_pubtkt.c>
|
Use RequireGroup wiki
|
||||||
TKTAuthToken "admin" "wiki"
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
# Disable caching
|
# Disable caching
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user