mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
Refactor WebAuthn IoC container (#1302)
* Refactor WebAuthn IoC container * Move to AddDefaultServices
This commit is contained in:
@ -59,15 +59,6 @@ namespace Bit.Sso
|
||||
});
|
||||
}
|
||||
|
||||
// Fido2
|
||||
services.AddFido2(options =>
|
||||
{
|
||||
options.ServerDomain = new Uri(globalSettings.BaseServiceUri.Vault).Host;
|
||||
options.ServerName = "Bitwarden";
|
||||
options.Origin = globalSettings.BaseServiceUri.Vault;
|
||||
options.TimestampDriftTolerance = 300000;
|
||||
});
|
||||
|
||||
// Authentication
|
||||
services.AddDistributedIdentityServices(globalSettings);
|
||||
services.AddAuthentication()
|
||||
|
Reference in New Issue
Block a user