How do I pass returnUrl to Login page in Blazor Server application?
问题 I have a simple Blazor server application, with Identity using Individual Authentication. I created the app from the VS 2019 standard dotnet new template. In some parts of the app I would like to direct the user to the login page, while passing along a returnUrl parameter. I've tried the following variations of code to pass this parameter ( counter is the page I want to return to): NavigationManager.NavigateTo("Identity/Account/Login?returnUrl=counter", forceLoad: true); NavigationManager