Hi,
Does the problem still exists in the latest version?
Hi,
you need to configure the angular URL
Configure<AppUrlOptions>(options =>
{
options.Applications["Angular"].RootUrl = configuration["App:AngularUrl"];
options.Applications["Angular"].Urls[AccountUrlNames.PasswordReset] = "account/reset-password";
options.Applications["Angular"].Urls[AccountUrlNames.EmailConfirmation] = "account/email-confirmation";
});
Hi,
The problem was solved in 8.2 https://github.com/abpframework/abp/pull/20189
have you check the migration guides?
https://abp.io/docs/latest/release-info/migration-guides
try
Please share the latest log thanks.
Hi,
could you try this:
Add MyAuthentication.razor
to the Blazor
project.
@page "/authentication/{action}"
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
<RemoteAuthenticatorView Action="@Action" OnLogInSucceeded="OnLogInSucceeded" OnLogOutSucceeded="OnLogOutSucceeded"/>
@inject WebAssemblyCachedApplicationConfigurationClient WebAssemblyCachedApplicationConfigurationClient
@inherits Authentication
@attribute [ExposeServices(typeof(Authentication))]
@attribute [Dependency(ReplaceServices = true)]
@code{
[Parameter] public string Action { get; set; }
private async Task OnLogInSucceeded(RemoteAuthenticationState obj)
{
await WebAssemblyCachedApplicationConfigurationClient.InitializeAsync();
}
private async Task OnLogOutSucceeded(RemoteAuthenticationState obj)
{
await WebAssemblyCachedApplicationConfigurationClient.InitializeAsync();
}
}