mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +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");
|
"Bitwarden Public API");
|
||||||
config.OAuthClientId("accountType.id");
|
config.OAuthClientId("accountType.id");
|
||||||
config.OAuthClientSecret("secretKey");
|
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