From 4c1eb54afc6677b274124080ec13168fe088a526 Mon Sep 17 00:00:00 2001 From: Simon Emms Date: Fri, 10 Dec 2021 16:56:46 +0000 Subject: [PATCH] stuff --- components/server/src/config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/server/src/config.ts b/components/server/src/config.ts index 94de3ba5daddcd..818d668ad29044 100644 --- a/components/server/src/config.ts +++ b/components/server/src/config.ts @@ -183,12 +183,16 @@ export namespace ConfigFile { /* Add providers from files */ const authProviderConfigFiles: AuthProviderParams[] = [] rawProviderConfigFiles.map((providerFile) => { + console.log({providerFile}) const rawProviderData = fs.readFileSync(providerFile, "utf-8") + console.log({rawProviderData}) + console.log(yaml.load(rawProviderData)) return yaml.load(rawProviderData) as AuthProviderParams }) authProviderConfigs.push(...authProviderConfigFiles); } + console.log({authProviderConfigs }) authProviderConfigs = normalizeAuthProviderParams(authProviderConfigs) const builtinAuthProvidersConfigured = authProviderConfigs.length > 0;