mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +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>
|
||||
SetEnvIf Request_Method HEAD no-gzip
|
||||
Include includes/freedombox-single-sign-on.conf
|
||||
<IfModule mod_auth_pubtkt.c>
|
||||
TKTAuthToken "admin" "wiki"
|
||||
</IfModule>
|
||||
Use AuthOpenIDConnect
|
||||
Use RequireGroup wiki
|
||||
|
||||
# Disable caching
|
||||
<IfModule mod_headers.c>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user