diff --git a/src/Api/Startup.cs b/src/Api/Startup.cs index c92e764c6..b82b2e1c2 100644 --- a/src/Api/Startup.cs +++ b/src/Api/Startup.cs @@ -288,6 +288,12 @@ public class Startup "Bitwarden Public API"); config.OAuthClientId("accountType.id"); config.OAuthClientSecret("secretKey"); + + // Persist authorization on page refresh - for development use only + if (Environment.IsDevelopment()) + { + config.EnablePersistAuthorization(); + } }); }