Activities of "maliming"

hi @scott7106

Try to set AddDevelopmentEncryptionAndSigningCertificate false.

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

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.

Showing 7661 to 7670 of 10652 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20