Activities of "liangshiwei"

have you check the migration guides?

https://abp.io/docs/latest/release-info/migration-guides

try

  • dotnet ef migrations add updatebookentity
  • dotnet ef database update

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?

You forget add dbset to the dbcontext

https://abp.io/docs/latest/tutorials/book-store/part-01?UI=Blazor&DB=EF#add-the-book-entity-to-the-dbcontext

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

Hi,

It seems you are using a tiered project, are they using the same Redis server(key prefix)?

could you share your redis configuration code?

you can try

options.TokenValidationParameters.ValidIssuers = new[]
{
   configuration["AuthServer:Authority"],
   configuration["AuthServer:ValidIssuers"] //the port may different
};
Showing 791 to 800 of 6036 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56