'How can I redirect user to a home page after logged out?
This doesn't redirect me :( I can see:

@page "/authentication/{action}"
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
<RemoteAuthenticatorView Action="@Action" OnLogOutSucceeded="LogOutSucceededHandler">
</RemoteAuthenticatorView>
@code{
[Parameter] public string? Action { get; set; }
[Inject]
public NavigationManager NavigationManager { get; set; }
public void LogOutSucceededHandler()
{
NavigationManager.NavigateTo("/");
}
}
I don't know why :( I don't know what I can write more.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
