From 972cdf392d510f15a51b5cca666f0f78ba45c74c Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Thu, 20 Jan 2022 14:18:50 +0100 Subject: [PATCH] refactor: make config auth provides be optional --- src/config/authorization.ts | 2 +- src/config/file.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/authorization.ts b/src/config/authorization.ts index eed92f99..b637d058 100644 --- a/src/config/authorization.ts +++ b/src/config/authorization.ts @@ -78,7 +78,7 @@ export interface SCAuthorizationProviderEndpoints { authorization: string; /** - * An authorization provider endpoints configuration + * URL to end current session */ endSession?: string; diff --git a/src/config/file.ts b/src/config/file.ts index 42ae86f8..4281c770 100644 --- a/src/config/file.ts +++ b/src/config/file.ts @@ -31,7 +31,7 @@ export interface SCConfigFile { /** * Configuration for the supported authorization providers */ - auth: { [key in SCAuthorizationProviderType]: SCAuthorizationProvider; }; + auth: { [key in SCAuthorizationProviderType]?: SCAuthorizationProvider; }; /** * Configuration for the backend that is visible to clients