Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection

(cherry picked from commit 812712e2843a738054c065a6d5c1b7c81c5f8e7b)
This commit is contained in:
Mark McDowall 2023-11-16 16:35:12 -08:00 committed by Bogdan
parent 5196ce311b
commit 68a4ee6000

View file

@ -34,6 +34,7 @@ public static AuthenticationBuilder AddAppAuthentication(this IServiceCollection
options.LoginPath = "/login";
options.ExpireTimeSpan = TimeSpan.FromDays(7);
options.SlidingExpiration = true;
options.ReturnUrlParameter = "returnUrl";
})
.AddApiKey("API", options =>
{