Skip to content

Commit

Permalink
Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection
Browse files Browse the repository at this point in the history
(cherry picked from commit 812712e2843a738054c065a6d5c1b7c81c5f8e7b)
  • Loading branch information
markus101 authored and mynameisbogdan committed Nov 17, 2023
1 parent 5196ce3 commit 68a4ee6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
{
Expand Down

0 comments on commit 68a4ee6

Please sign in to comment.