Activities of "liangshiwei"

Hi @vd

Can you share some screenshots? and make sure your abp and leptonx theme are the latest version. thanks.

Hi @tomlew

The problem was fixed, you can upgrade to the latest version(abp and leptonx theme).

We will consider that. thanks.

The solution builds and runs, but once we attempt to login we receive an error indicating that “ExtendedProperties” does not exist as a column. Digging into the logs, I was able to export the attached CSV. For some reason ABP 9.0.3 is requesting an ExtendedProperties column on AbpSessions, which is not valid.

Hi, are you talking about ExtraProperties?

You can check your database table.

Make sure all abp packages are 9.0.3

You can give it a try to check consume efficiency

Answer

Just trying to understand, if the custom grant is to validate the token, how can I generate it in the first place?

Here is a simple article https://abp.io/community/articles/implementing-passwordless-authentication-with-asp.net-core-identity-c25l8koj

You just need to call this method and then redirect to the return URL. await SignInManager.SignInAsync(user, isPersistent: false);

Also, how to make the login screen remove the password field if the user has opted for passwordless OTP, it needs to be dynamic to allow users with and without PasswordLess OTP

You can override the login page.

abp get-source Volo.Abp.Account.Pro -v 8.2.3

[ExposeServices(typeof(LoginModel))]
[Dependency(ReplaceServices = true)]
public class MyCustomLoginModel : OpenIddictSupportedLoginModel
{
    public string ClientId {get;set;}
    
    public bool IsOptLogin {get; set } 

    public MyCustomLoginModel(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 openIddictRequest = await OpenIddictRequestHelper.GetFromReturnUrlAsync(base.ReturnUrl);
        ClientId = openIddictRequest.ClientId;
        // check is opt login
        IsOptLogin = ......;
        return await base.OnGetAsync();
    }
}

Login.cshtml

@page
.......
@using Qa
@model MyCustomLoginModel

......


@if(IsOptLogin)
{

    ....
    
}else
{
    ....
}

Did you enable websocket on azure

Hi,

We have not changed the login/register code recently.

You can log in with a new external user and check if it redirects you to the register page, you can set breakpoints in the constructor to check if the override is successful

Hi,

Will it work if you try this:

Index.razor

<Button Clicked="Login">Login</Button>

Index.razor.cs

[Inject] public NavigationManager Navigation { get; set; }

protected override void Login()
{
    Navigation.NavigateTo($"account/login?returnUrl={Uri.EscapeDataString(Navigation.Uri)}", true);
}

Can you share a GIF, and your login page model code(If you override the login page model)

Is this the correct import? I noticed that the code snippet should use Pro version of the lib right?

namespace is correct.

Showing 241 to 250 of 6692 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