chore(sso): disable sso by default (i.e. for develop)
This commit is contained in:
parent
acd6a3c11c
commit
560d1adf5f
@ -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?
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user