Activities of "liangshiwei"

Hi,

Of course, there is nothing blocking you, you just need to use the frame tag on the page.

Hi,

Sorry, I thought you were @ageiter

It looks like a problem with IIS. Can you check this?: https://techcommunity.microsoft.com/t5/iis-support-blog/keyset-does-not-exist-exception-from-hresult-0x8009000d-or-or/ba-p/342955

Hi,

You can create an empty Javascript method:

Configure<AbpBundlingOptions>(options =>
{
    options.ScriptBundles.Configure(
        BlazorLeptonXThemeBundles.Scripts.Global,
        bundle =>
        {
            bundle.AddContributors(typeof(MyScriptContributor));
            bundle.AddFiles("/main.js")
        }
    );
});

main.js

window.afterLeptonXInitialization = function(){};
window.initLeptonX = function(){};

Hi,

The problem is related to ApplicationConfigrationCache: https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.Client/Volo/Abp/AspNetCore/Mvc/Client/MvcCachedApplicationConfigurationClient.cs#L42

The cache time is 5mins by default.

Starting from 7.1, you can configure the cache expiration time:

Configure<AbpAspNetCoreMvcClientCacheOptions>(options=>
{
     options.ApplicationConfigurationDtoCacheAbsoluteExpiration = TimeSpan.FromSeconds(30);
});

For now, you can reset the cache after user login:

.AddCookie("Cookies", options =>
{
    options.ExpireTimeSpan = TimeSpan.FromDays(365);
    var originalHandler = options.Events.OnSignedIn;
    options.Events.OnSignedIn = async signedInContext =>
    {
        await originalHandler.Invoke(signedInContext);
        var currentPrincipalAccessor = signedInContext.HttpContext.RequestServices.GetRequiredService<ICurrentPrincipalAccessor>();
        using (currentPrincipalAccessor.Change(signedInContext.Principal))
        {
            await signedInContext.HttpContext.RequestServices.GetRequiredService<ICurrentApplicationConfigurationCacheResetService>().ResetAsync();
        }
        
    };
})

Hi,

The recommended way is to use code flow, all steps have been completed in the backend and all you need to do is a few simple configuration steps.

for now, I need to allow both flows " Resource owner flow" and "Azure AD OpenId" Login for my application, please guide me on this. is there any ABP documentation on "Resource owner flow", if yes please provide links.

Sorry, but there is no such document from ABP. But the Azure AD document is detailed and also has some videos on youtube: https://www.youtube.com/watch?v=vjpKYSmvRKQ

You have a lot of work to do besides that. I can give you some points:

  • When users log in from Azure AD, it also needs to log in to the local account

You can custom a grant_type e.g: AzureAdLogin and pass the access_token(from AzureAD) to call Azure Ad API to get the user profile and create a user it does not exist in the database https://identityserver4.readthedocs.io/en/latest/topics/extension_grants.html

Hi,

Sorry, please try:

Configure<AbpBundlingOptions>(options =>
{
    options.ScriptBundles.Configure(
        BlazorLeptonXThemeBundles.Scripts.Global,
        bundle =>
        {
            bundle.AddContributors(typeof(MyScriptContributor));
        }
    );
});

Hi,

You can use the authorization system: https://docs.abp.io/en/abp/latest/Authorization

please email me : shiwei.liang@volosoft.com

Hi,

You can use the ASPNET Core standard middleware to do it, it's not related to ABP : https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-7.0

I think this problem is more related to your local environment. If you want, I can check it remotely. shiwei.liang@volosoft.com

Showing 4121 to 4130 of 6693 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 November 03, 2025, 07:01