mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
featherwiki: 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
64f1a1c918
commit
483f28de83
@ -5,10 +5,8 @@
|
|||||||
Alias /featherwiki /var/lib/featherwiki
|
Alias /featherwiki /var/lib/featherwiki
|
||||||
|
|
||||||
<Location /featherwiki>
|
<Location /featherwiki>
|
||||||
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