chore(sso): disable sso by default (i.e. for develop)

This commit is contained in:
Sarah Vaupel 2024-03-14 12:47:04 +01:00
parent acd6a3c11c
commit 560d1adf5f
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ user-auth:
# timeout: "_env:LDAPTIMEOUT:5"
# search-timeout: "_env:LDAPSEARCHTIME:5"
single-sign-on: "_env:OIDC_SSO:true"
single-sign-on: "_env:OIDC_SSO:false"
# TODO: generalize for arbitrary auth protocols
# TODO: maybe use separate pools for external databases?

View File

@ -634,7 +634,7 @@ instance FromJSON AppSettings where
appUserAuthConf <- o .: "user-auth"
-- P.fromList . mapMaybe (assertM nonEmptyHost) <$> o .:? "user-database" .!= []
appLdapPoolConf <- o .:? "ldap-pool"
appSingleSignOn <- o .: "single-sign-on"
appSingleSignOn <- o .:? "single-sign-on" .!= False
appLmsConf <- o .: "lms-direct"
appAvsConf <- assertM (not . null . avsPass) <$> o .:? "avs"
appLprConf <- o .: "lpr"