Skip to content

Commit

Permalink
Increase auth cookie expiry (#3470)
Browse files Browse the repository at this point in the history
Co-authored-by: James Newton-King <[email protected]>
  • Loading branch information
github-actions[bot] and JamesNK authored Apr 8, 2024
1 parent a7c3ac3 commit 258f072
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 @@ -477,7 +477,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 258f072

Please sign in to comment.