Activities of "maliming"

hi

Can you share a project? I will check it locally.

liming.ma@volosoft.com

hi

Can you share your project source code? liming.ma@volosoft.com

hi

https://docs.abp.io/en/commercial/latest/migration-guides/openIddict-step-by-step

hi

You can delete existing migration files and recreate one.

hi

Please share the full logs.

hi

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IAppUrlProvider))]
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.UI.Navigation.Urls;
namespace CompuCare.Providers;

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IAppUrlProvider))]
public class CustomAppUrlProvider : IAppUrlProvider, ITransientDependency
{
    public bool IsRedirectAllowedUrl(string url)
    {
        return true;
    }
    
    public async Task<string> GetUrlAsync(string appName, string urlName)
    {
        return default;
    }
    
    public async Task<string> GetUrlOrNullAsync(string appName, string urlName)
    {
        return default;
    }
    
    public async Task<string> NormalizeUrlAsync(string url)
    {
        return default;
    }
}

hi

You can try to override the App.razor of Lepton theme.

Add <p>You are not authorized to access this resource.</p

We will fix this in next version.

@using Microsoft.Extensions.Options
@using Microsoft.Extensions.Localization
@using global::Localization.Resources.AbpUi
@using Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components.ApplicationLayout
@using Volo.Abp.AspNetCore.Components.Web.Theming.Routing
@inject IOptions<AbpRouterOptions> RouterOptions
@inject IStringLocalizer<AbpUiResource> UiLocalizer
<CascadingAuthenticationState>
    <Router AppAssembly="RouterOptions.Value.AppAssembly"
            AdditionalAssemblies="RouterOptions.Value.AdditionalAssemblies">
        <Found Context="routeData">
            <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(DefaultLayout)">
                <NotAuthorized>
                    @if (context.User?.Identity?.IsAuthenticated == false)
                    {
                        <RedirectToLogin/>
                    }
                    else
                    {
                        <p>You are not authorized to access this resource.</p
                    }
                </NotAuthorized>
            </AuthorizeRouteView>
        </Found>
        <NotFound>
            <LayoutView Layout="@typeof(DefaultLayout)">
                <ErrorView
                    Title="@UiLocalizer["404Message"]"
                    HttpStatusCode="404"
                    Message="@UiLocalizer["404MessageDetail"]"/>
            </LayoutView>
        </NotFound>
    </Router>
</CascadingAuthenticationState>

You can override the IsRedirectAllowedUrl method of IAppUrlProvider to return the true.

hi

Replace the js file from typeof(ManageModel).FullName

Configure<AbpBundlingOptions>(options =>
{
    options.ScriptBundles
        .Configure(typeof(ManageModel).FullName,
            configuration =>
            {
                configuration.AddFiles("/Pages/Account/Components/ProfileManagementGroup/Password/Default.js");
                
            });
});

Your question credits has been Refunded

Showing 5861 to 5870 of 11529 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.