hedgedoc: Disable SSO and login for now

This commit is contained in:
Moritz 'e1mo' Fromm 2023-08-13 20:53:19 +02:00
parent 08e525b19d
commit d7358ccdca
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -33,7 +33,9 @@ in {
email = false; email = false;
path = sock_path; path = sock_path;
protocolUseSSL = true; protocolUseSSL = true;
oauth2 = { # NOTE(@e1mo): Currently disabled until we decide if we want
# SSO but left in here as this is a known working config.
oauth2 = lib.mkIf false {
baseURL = sso_url; baseURL = sso_url;
userProfileURL = "${sso_url}/userinfo"; userProfileURL = "${sso_url}/userinfo";
userProfileUsernameAttr = "preferred_username"; userProfileUsernameAttr = "preferred_username";