0
maria_ruiz created
- ABP Framework version: v9.0.4
- UI Type: Blazor Webapp Interactive Auto
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
Hi, I am migrating the webassembly application to webapp with interactive auto rendering and net 9,
Login is overwritten,
it is indicated that the SignOutSessionStateManager is deprecated and needs to be modified by NavigateToLogout
The problem is that the url changes, but the abp application does not know that the logout has taken place.
Can you tell me how to logout? Right now I have Authentication and LoggedOut overwritten.
2 Answer(s)
-
0
Hi, any solution?
-
0
Can you try the following code block?
if (AbpAspNetCoreComponentsWebOptions.Value.IsBlazorWebApp) { Navigation.NavigateTo(AuthenticationOptions.Value.LogoutUrl, forceLoad: true); } else { Navigation.NavigateToLogout(AuthenticationOptions.Value.LogoutUrl); }