mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
Revert "Added fido2 registration to other services"
This reverts part of commit 8f64f4a99f
.
This commit is contained in:
parent
fc146d27ce
commit
f0baf7e6a4
@ -46,15 +46,6 @@ namespace Bit.Portal
|
||||
services.AddScoped<ICurrentContext, CurrentContext>((serviceProvider) =>
|
||||
serviceProvider.GetService<EnterprisePortalCurrentContext>());
|
||||
|
||||
// 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)
|
||||
|
@ -43,15 +43,6 @@ namespace Bit.Sso
|
||||
// Context
|
||||
services.AddScoped<ICurrentContext, CurrentContext>();
|
||||
|
||||
// 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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user