Activities of "maliming"

hi beuko

Can you share your full code about extending-data-transfer-objects?

hi

Can you check the tokenProvider and purpose?

https://github.com/dotnet/aspnetcore/blob/52eff90fbcfca39b7eb58baad597df6a99a542b0/src/Security/samples/Identity.ExternalClaims/Pages/Account/ConfirmEmail.cshtml.cs#L34

https://github.com/dotnet/aspnetcore/blob/af9bb41d623b17eec946029815db5554b73be156/src/Identity/Extensions.Core/src/UserManager.cs#L1495

@m.duecker Many thanks. 👍

hi @hansmogren

Please create a demo project and send it to me, I will change it just like the free template. liming.ma@volosoft.com

hi hansmogren

You should use MyProjectNameMigrationsDbContext in CreateDatabaseAndGetConnection method.

I'm using the free template, What is your app type? tiered or separate-tenant-schema?

hi pvaz

I think you can redirect user to any page.

if (!CurrentUser.IsAuthenticated)
{
    //redirect to /Account/Login
}

https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.controllerbase.redirect?view=aspnetcore-5.0

hi pvaz

You can call ChallengeAsync in yourOnGetAsync method of IndexModel for MVC tiered application.

public class IndexModel : MyProjectNamePageModel
{
    public async Task OnGetAsync()
    {
        if (!CurrentUser.IsAuthenticated)
        {
            await HttpContext.ChallengeAsync("oidc");
        }
    }

    public async Task OnPostLoginAsync()
    {
        await HttpContext.ChallengeAsync("oidc");
    }
}

hi @Repunjay

Our problem may be related to migration, so we shouldn't create the host database Litmus_Admin and tenant database Litmus_Lenovo_Admin through SQL.

We need use migrations of ef core.

The structure of the sql you shared is different from the project I received. Please try to reproduce the problem through the code, you can share the necessary code to create the data. Please keep it simple, thanks.

hi

Can you check your redis to see if the keys are created?

I think your Redis may have problem, Because we've confirmed the Data Protection can works between two application.

Showing 10751 to 10760 of 11568 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.