This repository was archived by the owner on Jun 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed
Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -243,8 +243,15 @@ def __init__(
243243 self .format (_val , base_path = base_path , file_attributes = file_attributes ,
244244 domain = domain , port = port )
245245 else :
246- logger .warning (
247- f"{ key } is not a valid configuration parameter"
246+ continue
247+
248+ if key not in DEFAULT_EXTENDED_CONF :
249+ logger .warning (
250+ f"{ key } not seems to be a valid configuration parameter"
251+ )
252+ elif not _val :
253+ logger .warning (
254+ f"{ key } not configured, using default configuration values"
248255 )
249256
250257 if key == "template_dir" :
@@ -589,4 +596,23 @@ def __init__(
589596 },
590597 },
591598 "userinfo" : {"class" : "oidcop.user_info.UserInfo" , "kwargs" : {"db_file" : "users.json" }, },
599+ "scopes_to_claims" : SCOPE2CLAIMS ,
600+ "session_params" : {
601+ "password" : "ses_key" ,
602+ "salt" : "ses_salt" ,
603+ "sub_func" : {
604+ "public" : {
605+ "class" : "oidcop.session.manager.PublicID" ,
606+ "kwargs" : {
607+ "salt" : "mysalt"
608+ }
609+ },
610+ "pairwise" : {
611+ "class" : "oidcop.session.manager.PairWiseID" ,
612+ "kwargs" : {
613+ "salt" : "mysalt"
614+ }
615+ }
616+ }
617+ },
592618}
You can’t perform that action at this time.
0 commit comments