Activities of "maliming"

hi

https://github.com/abpframework/abp/issues/13633

hi

I will provide a solution soon. : )

Send an email to liming.ma@volosoft.com

hi

It will available when 6.0 is released.

hi

Can you try to add a custom certificate instead of a development certificate?

https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html#registering-a-development-certificate

https://docs.abp.io/en/abp/6.0/Modules/OpenIddict#abpopeniddictaspnetcoreoptions

is possible to double-check if the token is the problem?

How about the IAccessTokenProvider ?

@using Volo.Abp.AspNetCore.Components.Messages
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
@inherits ComponentBase
@implements IDisposable
@code {
    [Inject]
    protected BlazoriseUiMessageService UiMessageService { get; set; }

    [Inject]
    protected NavigationManager NavigationManager { get; set; }

    [Inject]
    protected IAccessTokenProvider AccessTokenProvider { get; set; }

    protected override void OnInitialized()
    {
        base.OnInitialized();

        UiMessageService.MessageReceived += OnMessageReceived;
    }

    private async void OnMessageReceived(object sender, UiMessageEventArgs e)
    {
        var authState = await AccessTokenProvider.RequestAccessToken();
        if (authState.Status == AccessTokenResultStatus.RequiresRedirect)
        {
            NavigationManager.NavigateTo("/authentication/login");
        }
    }

    public void Dispose()
    {
        if (UiMessageService != null)
        {
            UiMessageService.MessageReceived -= OnMessageReceived;
        }
    }
}

hi

Try add <RedirectToLoginWhenUnauthorized /> to MainFooterComponent.razor

@using Volo.Abp.AspNetCore.Components.Messages
@inherits ComponentBase
@implements IDisposable
@code {
    [Inject]
    protected BlazoriseUiMessageService UiMessageService { get; set; }

    [Inject]
    protected NavigationManager NavigationManager { get; set; }

    protected override void OnInitialized()
    {
        base.OnInitialized();

        UiMessageService.MessageReceived += OnMessageReceived;
    }

    private async void OnMessageReceived(object sender, UiMessageEventArgs e)
    {
        if (e.Message == "Unauthorized")
        {
            NavigationManager.NavigateTo("/authentication/login");
        }
    }

    public void Dispose()
    {
        if (UiMessageService != null)
        {
            UiMessageService.MessageReceived -= OnMessageReceived;
        }
    }
}


hi

I will check this.

RC2 released.

Showing 8551 to 8560 of 11541 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.