From f0baf7e6a468073421b0f764ccb7d78e759996f7 Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Tue, 4 May 2021 23:49:22 -0400 Subject: [PATCH] Revert "Added fido2 registration to other services" This reverts part of commit 8f64f4a99f1de8052b3cd3a08c19e9bca5598848. --- bitwarden_license/src/Portal/Startup.cs | 9 --------- bitwarden_license/src/Sso/Startup.cs | 9 --------- 2 files changed, 18 deletions(-) diff --git a/bitwarden_license/src/Portal/Startup.cs b/bitwarden_license/src/Portal/Startup.cs index 3972a6094..ccd8c6fb7 100644 --- a/bitwarden_license/src/Portal/Startup.cs +++ b/bitwarden_license/src/Portal/Startup.cs @@ -46,15 +46,6 @@ namespace Bit.Portal services.AddScoped((serviceProvider) => serviceProvider.GetService()); - // Fido2 - services.AddFido2(options => - { - options.ServerDomain = new Uri(globalSettings.BaseServiceUri.Vault).Host; - options.ServerName = "Bitwarden"; - options.Origin = globalSettings.BaseServiceUri.Vault; - options.TimestampDriftTolerance = 300000; - }); - // Identity services.AddEnterprisePortalTokenIdentityServices(); if (globalSettings.SelfHosted) diff --git a/bitwarden_license/src/Sso/Startup.cs b/bitwarden_license/src/Sso/Startup.cs index ccfcd92d0..dfac772cc 100644 --- a/bitwarden_license/src/Sso/Startup.cs +++ b/bitwarden_license/src/Sso/Startup.cs @@ -43,15 +43,6 @@ namespace Bit.Sso // Context services.AddScoped(); - // Fido2 - services.AddFido2(options => - { - options.ServerDomain = new Uri(globalSettings.BaseServiceUri.Vault).Host; - options.ServerName = "Bitwarden"; - options.Origin = globalSettings.BaseServiceUri.Vault; - options.TimestampDriftTolerance = 300000; - }); - // Mvc services.AddControllersWithViews();