Activities of "maliming"

如何修改 appsettings.secret.json 中 AbpLicenseCode 值,变更过一次Organization?

请创建一个相同类型的项目, 然后复制新的项目的Code到当前项目在试试.

hi

Try [ExposeServices(typeof (LoginModel), typeof(OpenIddictSupportedLoginModel), typeof(CustomLoginModel))]

using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using Owl.reCAPTCHA;
using Volo.Abp.Account.ExternalProviders;
using Volo.Abp.Account.Public.Web;
using Volo.Abp.Account.Public.Web.Pages.Account;
using Volo.Abp.Account.Security.Recaptcha;
using Volo.Abp.Account.Web.Pages.Account;
using Volo.Abp.DependencyInjection;
using Volo.Abp.OpenIddict;
using Volo.Abp.Security.Claims;

namespace AbpSolution9.Pages.Account;

[ExposeServices(typeof (LoginModel), typeof(OpenIddictSupportedLoginModel), typeof(CustomLoginModel))]
public class CustomLoginModel : OpenIddictSupportedLoginModel
{
    public CustomLoginModel(IAuthenticationSchemeProvider schemeProvider, IOptions<AbpAccountOptions> accountOptions,
        IAbpRecaptchaValidatorFactory recaptchaValidatorFactory,
        IAccountExternalProviderAppService accountExternalProviderAppService,
        ICurrentPrincipalAccessor currentPrincipalAccessor, IOptions<IdentityOptions> identityOptions,
        IOptionsSnapshot<reCAPTCHAOptions> reCaptchaOptions, AbpOpenIddictRequestHelper openIddictRequestHelper) : base(
        schemeProvider, accountOptions, recaptchaValidatorFactory, accountExternalProviderAppService,
        currentPrincipalAccessor, identityOptions, reCaptchaOptions, openIddictRequestHelper)
    {
    }
}

hi

Most of the time, we are unable to reproduce the issue. That is why we need you to provide the test project.

Thanks.

hi

Can you share a test project?

liming.ma@volosoft.com

Thanks

hi

Can you try to remove Layout = ThemeManager.CurrentTheme.GetAccountLayout();?

Thanks.

Answer

hi

Due to the current limitations of blazor, it cannot be resolved.

Sorry about that, I have refunded your ticket.

Answer

hi

This is audit log feature.

https://abp.io/docs/latest/modules/audit-logging-pro#expiredauditlogdeleteroptions

hi

Can you share a test project and steps?

I will download and debug it.

liming.ma@volosoft.com

Thanks

hi

Is there an AbpLicenseCode in your project's appsettings.secret.json?

What is the output of the abp login-info command?

Thanks.

hi

Can you set a breakpoint to check the current user claims?

The access token seems no problem

Thanks.

Showing 2251 to 2260 of 11576 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.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.