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();
}
}
could you share your redis configuration codes?
Sorry,
options.TokenValidationParameters.ValidIssuers = new[]
{
configuration["AuthServer:Authority"] + "/",
configuration["AuthServer:ValidIssuers"] //the port may different
};
Hi,
could you please share a simple project to reproduce the problem? i will check it, thanks shiwei.liang@volosoft.com
you can try
options.TokenValidationParameters.ValidIssuers = new[]
{
configuration["AuthServer:Authority"],
configuration["AuthServer:ValidIssuers"] //the port may different
};
Hi,
Sorry again, i don't have a DevExpress license.
Unable to find package DevExpress.AspNetCore.Reporting with version (>= 24.1.3) [/Users/liangshiweis/Downloads/HQSOFT.MainApplication/HQSOFT.MainApplication.sln]
BTW could you try add [DependsOn(typeof(SystemAdministrationBlazorServerModule))]
to Blazor module to check if it's work