+
+
Please enter your email address below to log in.
+
+
+
diff --git a/src/Admin/appsettings.Development.json b/src/Admin/appsettings.Development.json
deleted file mode 100644
index fa8ce71a9..000000000
--- a/src/Admin/appsettings.Development.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "Logging": {
- "IncludeScopes": false,
- "LogLevel": {
- "Default": "Debug",
- "System": "Information",
- "Microsoft": "Information"
- }
- }
-}
diff --git a/src/Admin/appsettings.Production.json b/src/Admin/appsettings.Production.json
new file mode 100644
index 000000000..e0dbff6b0
--- /dev/null
+++ b/src/Admin/appsettings.Production.json
@@ -0,0 +1,13 @@
+{
+ "globalSettings": {
+ "baseServiceUri": {
+ "vault": "https://vault.bitwarden.com",
+ "api": "https://api.bitwarden.com",
+ "identity": "https://identity.bitwarden.com",
+ "internalIdentity": "https://identity.bitwarden.com"
+ },
+ "braintree": {
+ "production": true
+ }
+ }
+}
diff --git a/src/Admin/appsettings.json b/src/Admin/appsettings.json
index 5fff67bac..7927f980f 100644
--- a/src/Admin/appsettings.json
+++ b/src/Admin/appsettings.json
@@ -1,8 +1,50 @@
{
- "Logging": {
- "IncludeScopes": false,
- "LogLevel": {
- "Default": "Warning"
+ "globalSettings": {
+ "selfHosted": false,
+ "siteName": "Bitwarden",
+ "projectName": "Admin",
+ "stripeApiKey": "SECRET",
+ "baseServiceUri": {
+ "vault": "http://localhost:4001",
+ "api": "http://localhost:4000",
+ "identity": "http://localhost:33656",
+ "internalIdentity": "http://localhost:33656"
+ },
+ "sqlServer": {
+ "connectionString": "SECRET"
+ },
+ "mail": {
+ "sendGridApiKey": "SECRET",
+ "replyToEmail": "hello@bitwarden.com"
+ },
+ "identityServer": {
+ "certificateThumbprint": "SECRET"
+ },
+ "dataProtection": {
+ "certificateThumbprint": "SECRET"
+ },
+ "storage": {
+ "connectionString": "SECRET"
+ },
+ "events": {
+ "connectionString": "SECRET"
+ },
+ "documentDb": {
+ "uri": "SECRET",
+ "key": "SECRET"
+ },
+ "notificationHub": {
+ "connectionString": "SECRET",
+ "hubName": "SECRET"
}
+ },
+ "adminSettings": {
+ "admins": ""
+ },
+ "braintree": {
+ "production": false,
+ "merchantId": "SECRET",
+ "publicKey": "SECRET",
+ "privateKey": "SECRET"
}
}
diff --git a/src/Billing/Startup.cs b/src/Billing/Startup.cs
index 142787bd4..a0fbc3f07 100644
--- a/src/Billing/Startup.cs
+++ b/src/Billing/Startup.cs
@@ -10,9 +10,7 @@ using Bit.Core.Utilities;
using Serilog.Events;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection.Extensions;
-using Bit.Billing.Utilities;
using Bit.Core.Identity;
-using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Routing;
namespace Bit.Billing
@@ -45,28 +43,7 @@ namespace Bit.Billing
services.AddScoped