Skip to content

Commit

Permalink
Increase auth cookie expiry (#3468)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK authored Apr 8, 2024
1 parent d088401 commit b2b9257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Aspire.Dashboard/DashboardWebApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private static void ConfigureAuthentication(WebApplicationBuilder builder, Dashb
{
options.LoginPath = "/login";
options.ReturnUrlParameter = "returnUrl";
options.ExpireTimeSpan = TimeSpan.FromDays(1);
options.ExpireTimeSpan = TimeSpan.FromDays(3);
options.Events.OnSigningIn = context =>
{
// Add claim when signing in with cookies from browser token.
Expand Down

0 comments on commit b2b9257

Please sign in to comment.