mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
SwaggerUI - persist authorization in dev mode (#3655)
This commit is contained in:
parent
db4d7aa609
commit
297cc8c8e1
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user