mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
PM-13632: Add support for configuring multiple allowed origins (#6317)
* Add support for configuring multiple allowed origins * Use if/else instead of union * Add conditionals * Added Chromium based extension ID's * format * Update src/Core/Constants.cs Co-authored-by: Matt Bishop <mbishop@bitwarden.com> * remove chromedevelopmentid * format --------- Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
This commit is contained in:
@@ -103,6 +103,7 @@ public class GlobalSettings : IGlobalSettings
|
||||
/// </summary>
|
||||
public virtual string SendDefaultHashKey { get; set; }
|
||||
public virtual string PricingUri { get; set; }
|
||||
public virtual Fido2Settings Fido2 { get; set; } = new Fido2Settings();
|
||||
|
||||
public string BuildExternalUri(string explicitValue, string name)
|
||||
{
|
||||
@@ -772,4 +773,9 @@ public class GlobalSettings : IGlobalSettings
|
||||
{
|
||||
public string VapidPublicKey { get; set; }
|
||||
}
|
||||
|
||||
public class Fido2Settings
|
||||
{
|
||||
public HashSet<string> Origins { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user