mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +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:
@@ -70,6 +70,17 @@ public static class Constants
|
||||
/// </summary>
|
||||
public const string UnitedStates = "US";
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Constants for our browser extensions IDs
|
||||
/// </summary>
|
||||
public static class BrowserExtensions
|
||||
{
|
||||
public const string ChromeId = "chrome-extension://nngceckbapebfimnlniiiahkandclblb/";
|
||||
public const string EdgeId = "chrome-extension://jbkfoedolllekgbhcbcoahefnbanhhlh/";
|
||||
public const string OperaId = "chrome-extension://ccnckbpmaceehanjmeomladnmlffdjgn/";
|
||||
}
|
||||
}
|
||||
|
||||
public static class AuthConstants
|
||||
|
||||
Reference in New Issue
Block a user