Activities of "MichelZ"

I have now traced where the 8.12.1 version comes from. Owl.TokenWildcardIssuerValidator 2.0 :) :)

We do not have external login setup for local currently

[maliming] said: hi

Does the MissingMethodException only happen in Azure?

Can you get the same exception in your local?

Thanks.

We are not running in Azure. This runs in Kubernetes as a Container. If you're asking if it works while logging in locally (Username/Password Authentication) - then yes, that works

Thanks AI Bot. I know how I can potentially resolve this, but it's probably something that should be handled in-product, but I'm not sure if it needs handling directly or via another dependent library.

Thanks, that nudged me in the right direction. I've opted to replace the IConnectionStringChecker instead, seems to work

    [Dependency(ReplaceServices = true)]
    [ExposeServices(typeof(IConnectionStringChecker), typeof(EncryptedConnectionStringChecker))]
    public class EncryptedConnectionStringChecker : SqlServerConnectionStringChecker, IConnectionStringChecker, ITransientDependency
    {
        private readonly IStringEncryptionService _stringEncryptionService;

        public EncryptedConnectionStringChecker(IStringEncryptionService stringEncryptionService)
        {
            _stringEncryptionService = stringEncryptionService ?? throw new ArgumentNullException(nameof(stringEncryptionService));
        }

        public override async Task<AbpConnectionStringCheckResult> CheckAsync(string connectionString)
        {
            if (string.IsNullOrWhiteSpace(connectionString))
            {
                throw new ArgumentException("Connection string cannot be null or empty.", nameof(connectionString));
            }
            try
            {
                var decryptedConnectionString = _stringEncryptionService.Decrypt(connectionString);
                return await base.CheckAsync(decryptedConnectionString);
            }
            catch (Exception)
            {
                return new AbpConnectionStringCheckResult { Connected = false, DatabaseExists = false };
            }
        }
    }

While I do get what you're telling me bot, I do think that overriding the actual Check logic should work in this case... So please let a human take this one :)

Yes, that works! Thank you very much for the quick answer (Human, not the bot :) )

hi

I think the ASP.NET Core only checks the BindProperty of the base LoginModel class.

Somehow I was under the impression that this should work, but if it's the expected behavior, then that's fine of course.

hi

[DisableAuditing] 
[Dependency(ReplaceServices = true)] 
[ExposeServices(typeof(LoginModel), typeof(OpenIddictSupportedLoginModel))] 
public class MyCustomLogin : OpenIddictSupportedLoginModel 
{ 
    public MyCustomLogin(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) 
    { 
    } 
 
    public override async Task<IActionResult> OnGetAsync() 
    { 
        var result = await base.OnGetAsync(); 
 
        if (LoginInput.UserNameOrEmailAddress.IsNullOrWhiteSpace()) 
        { 
            LoginInput.UserNameOrEmailAddress = Request.Query["TestUrlParameter"]; 
        } 
 
        return result; 
    } 
} 

Yes, that is a workaround. But the default databinding of ASP.NET Core should also work, shouldn't it?

I have also created a PR to fix the overwriting of the Login Hint: https://github.com/abpframework/abp/pull/22887

Showing 11 to 20 of 71 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 08, 2025, 08:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.