From 98501de2a2382b3cc8be3d72afb3f2b96032e890 Mon Sep 17 00:00:00 2001
From: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Date: Wed, 28 Jan 2026 09:50:57 -0500
Subject: [PATCH] Introduce the Server SDK to the rest of our services
---
Directory.Build.props | 4 ++++
bitwarden_license/src/Scim/Scim.csproj | 1 +
bitwarden_license/src/Sso/Sso.csproj | 1 +
global.json | 2 +-
src/Admin/Admin.csproj | 1 +
src/Admin/Program.cs | 2 +-
src/Api/Api.csproj | 2 ++
src/Api/Program.cs | 2 +-
src/Events/Events.csproj | 1 +
src/Events/Program.cs | 2 +-
src/EventsProcessor/EventsProcessor.csproj | 1 +
src/Icons/Icons.csproj | 1 +
src/Icons/Program.cs | 1 +
src/Identity/Identity.csproj | 1 +
src/Identity/Program.cs | 2 +-
src/Notifications/Notifications.csproj | 1 +
src/Notifications/Program.cs | 2 +-
.../Infrastructure.IntegrationTest.csproj | 4 +---
test/IntegrationTestCommon/IntegrationTestCommon.csproj | 1 -
19 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/Directory.Build.props b/Directory.Build.props
index c4c7f342fa..d223304ada 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -13,6 +13,10 @@
true
+
+ false
+ false
+
diff --git a/bitwarden_license/src/Scim/Scim.csproj b/bitwarden_license/src/Scim/Scim.csproj
index 7d1ea317b2..d3858e1225 100644
--- a/bitwarden_license/src/Scim/Scim.csproj
+++ b/bitwarden_license/src/Scim/Scim.csproj
@@ -1,4 +1,5 @@
+
bitwarden-Scim
diff --git a/bitwarden_license/src/Sso/Sso.csproj b/bitwarden_license/src/Sso/Sso.csproj
index 2a1c14ae5a..709e8c2c4a 100644
--- a/bitwarden_license/src/Sso/Sso.csproj
+++ b/bitwarden_license/src/Sso/Sso.csproj
@@ -1,4 +1,5 @@
+
bitwarden-Sso
diff --git a/global.json b/global.json
index 4cbe3f083a..970250aec9 100644
--- a/global.json
+++ b/global.json
@@ -6,6 +6,6 @@
"msbuild-sdks": {
"Microsoft.Build.Traversal": "4.1.0",
"Microsoft.Build.Sql": "1.0.0",
- "Bitwarden.Server.Sdk": "1.2.0"
+ "Bitwarden.Server.Sdk": "1.4.0"
}
}
diff --git a/src/Admin/Admin.csproj b/src/Admin/Admin.csproj
index b815ddea82..5733589466 100644
--- a/src/Admin/Admin.csproj
+++ b/src/Admin/Admin.csproj
@@ -1,4 +1,5 @@
+
bitwarden-Admin
diff --git a/src/Admin/Program.cs b/src/Admin/Program.cs
index 006a8223b2..80a1ae058c 100644
--- a/src/Admin/Program.cs
+++ b/src/Admin/Program.cs
@@ -8,7 +8,7 @@ public class Program
{
Host
.CreateDefaultBuilder(args)
- .ConfigureCustomAppConfiguration(args)
+ .UseBitwardenSdk()
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.ConfigureKestrel(o =>
diff --git a/src/Api/Api.csproj b/src/Api/Api.csproj
index d25b989d11..c4a286f33c 100644
--- a/src/Api/Api.csproj
+++ b/src/Api/Api.csproj
@@ -1,4 +1,6 @@
+
+
bitwarden-Api
false
diff --git a/src/Api/Program.cs b/src/Api/Program.cs
index bf924af47f..baeaab9fdb 100644
--- a/src/Api/Program.cs
+++ b/src/Api/Program.cs
@@ -8,7 +8,7 @@ public class Program
{
Host
.CreateDefaultBuilder(args)
- .ConfigureCustomAppConfiguration(args)
+ .UseBitwardenSdk()
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup();
diff --git a/src/Events/Events.csproj b/src/Events/Events.csproj
index dcd66892ed..dc1df1d587 100644
--- a/src/Events/Events.csproj
+++ b/src/Events/Events.csproj
@@ -1,4 +1,5 @@
+
bitwarden-Events
diff --git a/src/Events/Program.cs b/src/Events/Program.cs
index 1a00549005..78a3cfcdc0 100644
--- a/src/Events/Program.cs
+++ b/src/Events/Program.cs
@@ -8,7 +8,7 @@ public class Program
{
Host
.CreateDefaultBuilder(args)
- .ConfigureCustomAppConfiguration(args)
+ .UseBitwardenSdk()
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup();
diff --git a/src/EventsProcessor/EventsProcessor.csproj b/src/EventsProcessor/EventsProcessor.csproj
index 2f1aeaef54..9c128aa606 100644
--- a/src/EventsProcessor/EventsProcessor.csproj
+++ b/src/EventsProcessor/EventsProcessor.csproj
@@ -1,4 +1,5 @@
+
bitwarden-EventsProcessor
diff --git a/src/Icons/Icons.csproj b/src/Icons/Icons.csproj
index 9dc39eab1e..adc1f6d557 100644
--- a/src/Icons/Icons.csproj
+++ b/src/Icons/Icons.csproj
@@ -1,4 +1,5 @@
+
bitwarden-Icons
diff --git a/src/Icons/Program.cs b/src/Icons/Program.cs
index 80c1b5728e..5ca5723a52 100644
--- a/src/Icons/Program.cs
+++ b/src/Icons/Program.cs
@@ -8,6 +8,7 @@ public class Program
{
Host
.CreateDefaultBuilder(args)
+ .UseBitwardenSdk()
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup();
diff --git a/src/Identity/Identity.csproj b/src/Identity/Identity.csproj
index db49f8c856..f31d8c005e 100644
--- a/src/Identity/Identity.csproj
+++ b/src/Identity/Identity.csproj
@@ -1,4 +1,5 @@
+
bitwarden-Identity
diff --git a/src/Identity/Program.cs b/src/Identity/Program.cs
index 238ad8ce3a..ae284c86f2 100644
--- a/src/Identity/Program.cs
+++ b/src/Identity/Program.cs
@@ -15,7 +15,7 @@ public class Program
{
return Host
.CreateDefaultBuilder(args)
- .ConfigureCustomAppConfiguration(args)
+ .UseBitwardenSdk()
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup();
diff --git a/src/Notifications/Notifications.csproj b/src/Notifications/Notifications.csproj
index 4d19f7faf9..76278fdea8 100644
--- a/src/Notifications/Notifications.csproj
+++ b/src/Notifications/Notifications.csproj
@@ -1,4 +1,5 @@
+
bitwarden-Notifications
diff --git a/src/Notifications/Program.cs b/src/Notifications/Program.cs
index 2792391729..ec7ea67fda 100644
--- a/src/Notifications/Program.cs
+++ b/src/Notifications/Program.cs
@@ -8,7 +8,7 @@ public class Program
{
Host
.CreateDefaultBuilder(args)
- .ConfigureCustomAppConfiguration(args)
+ .UseBitwardenSdk()
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup();
diff --git a/test/Infrastructure.IntegrationTest/Infrastructure.IntegrationTest.csproj b/test/Infrastructure.IntegrationTest/Infrastructure.IntegrationTest.csproj
index 4822df4c77..262a0fe856 100644
--- a/test/Infrastructure.IntegrationTest/Infrastructure.IntegrationTest.csproj
+++ b/test/Infrastructure.IntegrationTest/Infrastructure.IntegrationTest.csproj
@@ -9,9 +9,7 @@
-
-
-
+
diff --git a/test/IntegrationTestCommon/IntegrationTestCommon.csproj b/test/IntegrationTestCommon/IntegrationTestCommon.csproj
index 6fd6369f49..9a2e159b22 100644
--- a/test/IntegrationTestCommon/IntegrationTestCommon.csproj
+++ b/test/IntegrationTestCommon/IntegrationTestCommon.csproj
@@ -8,7 +8,6 @@
-