Activities of "maliming"

Answer

hi

You can get username and client_id from the request.

malimings@gmail.com

hi

You can try to log out and log in again. also install the latest CLI and Suite

abp logout
abp login

I have not received it yet.

liming.ma@volosoft.com

hi

I think this is a database problem.

Answer

hi

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(LoginModel))]
public class CustomLoginModel : LoginModel
{
    public CustomLoginModel(IAuthenticationSchemeProvider schemeProvider, IOptions accountOptions, IAbpRecaptchaValidatorFactory recaptchaValidatorFactory, IAccountExternalProviderAppService accountExternalProviderAppService, ICurrentPrincipalAccessor currentPrincipalAccessor, IOptions identityOptions, IOptionsSnapshot reCaptchaOptions) : base(schemeProvider, accountOptions, recaptchaValidatorFactory, accountExternalProviderAppService, currentPrincipalAccessor, identityOptions, reCaptchaOptions)
    {
    }

    public override async Task OnPostAsync(string action)
    {
        var request = await OpenIddictRequestHelper.GetFromReturnUrlAsync(ReturnUrl);
        if (request?.ClientId != null)
        {
            // check the request here
        }

        return await base.OnPostAsync(action);
    }
}```

hi

Can you test the code in an opensource template project and share it again?

abp new BookStore -t module

System.MissingMethodException

You are using abp 5.3.3 in your SG.RISE.SKU.Blazor project.

I can't reproduce with your project.

SG.RISE.DbMigrator % dotnet run
SG.RISE.DbMigrator.csproj : warning NU1608: Detected package version outside of dependency constraint: Castle.Windsor 5.1.2 requires Castle.Core (>= 4.4.1 && < 5.0.0) but version Castle.Core 5.1.1 was resolved.
SG.RISE.DbMigrator.csproj : warning NU1608: Detected package version outside of dependency constraint: Castle.Windsor 5.1.2 requires Castle.Core (>= 4.4.1 && < 5.0.0) but version Castle.Core 5.1.1 was resolved.
[09:38:41 INF] Started database migrations...
[09:38:41 INF] Migrating schema for host database...
[09:38:43 INF] Executing host database seed...
[09:38:45 INF] Successfully completed host database migrations.
[09:38:45 INF] Successfully completed all database migrations.
[09:38:45 INF] You can safely end this process...

hi

it switching user context only after reloads the page

I mean you can reload the page by code.

https://support.abp.io/QA/Questions/5107#answer-3a0b692f-e52a-cde1-f2b7-cf0f255391e1

Showing 6831 to 6840 of 11531 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.