Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Navigate to fails for standard authentication pages, but not for other pages

$
0
0

To test a problem I'm having, I have set up fresh a .NET 9 Blazor Web App (Server, Global) with Individual Accounts. I added 2 pages to Pages, "Page1" and "Page2".

On "Page1" I set up 2 buttons, one uses NavigationManager.NavigateTo to navigate Page2 and the other to the login Page ("/Account/Login").Navigating to "Page2" works as expected, but navigating to the login page ends on the "Not Found" page.

I also tested this with some of the other pages that come with the project, same result.

When using the URL of the login page directly in the browser everything works fine.

How to fix it?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>