From 179e6aa76b6e83b07f75253bd61bce76f93c364a Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Fri, 30 Apr 2021 15:00:57 -0400 Subject: [PATCH] enable default appsettings for self hosted - bwlic (#1288) --- bitwarden_license/src/Portal/Program.cs | 1 + .../src/Portal/appsettings.SelfHosted.json | 20 +++++++++++++++++++ bitwarden_license/src/Sso/Program.cs | 1 + .../src/Sso/appsettings.SelfHosted.json | 20 +++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 100644 bitwarden_license/src/Portal/appsettings.SelfHosted.json create mode 100644 bitwarden_license/src/Sso/appsettings.SelfHosted.json diff --git a/bitwarden_license/src/Portal/Program.cs b/bitwarden_license/src/Portal/Program.cs index 2c7813fb12..4990cd8ec1 100644 --- a/bitwarden_license/src/Portal/Program.cs +++ b/bitwarden_license/src/Portal/Program.cs @@ -12,6 +12,7 @@ namespace Bit.Portal { Host .CreateDefaultBuilder(args) + .ConfigureCustomAppConfiguration(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); diff --git a/bitwarden_license/src/Portal/appsettings.SelfHosted.json b/bitwarden_license/src/Portal/appsettings.SelfHosted.json new file mode 100644 index 0000000000..c7ee4b2b35 --- /dev/null +++ b/bitwarden_license/src/Portal/appsettings.SelfHosted.json @@ -0,0 +1,20 @@ +{ + "globalSettings": { + "baseServiceUri": { + "vault": null, + "api": null, + "identity": null, + "admin": null, + "notifications": null, + "sso": null, + "portal": null, + "internalNotifications": null, + "internalAdmin": null, + "internalIdentity": null, + "internalApi": null, + "internalVault": null, + "internalSso": null, + "internalPortal": null + } + } +} diff --git a/bitwarden_license/src/Sso/Program.cs b/bitwarden_license/src/Sso/Program.cs index f95f10d8ee..6b6a83d05a 100644 --- a/bitwarden_license/src/Sso/Program.cs +++ b/bitwarden_license/src/Sso/Program.cs @@ -12,6 +12,7 @@ namespace Bit.Sso { Host .CreateDefaultBuilder(args) + .ConfigureCustomAppConfiguration(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); diff --git a/bitwarden_license/src/Sso/appsettings.SelfHosted.json b/bitwarden_license/src/Sso/appsettings.SelfHosted.json new file mode 100644 index 0000000000..c7ee4b2b35 --- /dev/null +++ b/bitwarden_license/src/Sso/appsettings.SelfHosted.json @@ -0,0 +1,20 @@ +{ + "globalSettings": { + "baseServiceUri": { + "vault": null, + "api": null, + "identity": null, + "admin": null, + "notifications": null, + "sso": null, + "portal": null, + "internalNotifications": null, + "internalAdmin": null, + "internalIdentity": null, + "internalApi": null, + "internalVault": null, + "internalSso": null, + "internalPortal": null + } + } +}