Activities of "maliming"

hi

Please set a breakpoint to check the DynamicContributors.

services.PostConfigure<AbpClaimsPrincipalFactoryOptions>(options =>
{
    options.DynamicContributors.AddIfNotContains(xxx);
});

hi

If the local production environment cannot reproduce the problem using a remote server, it means that there is a problem with Azure Deployment Slots.

I'm not familiar with Azure. Can you change the running environment for testing? For example, Azure App Service

hi Fabio.Zinesi

Can you share the steps and code to reproduce in a new template project?

Thanks

hi

I tried to put IdentityDynamicClaimsPrincipalContributor and IdentityDynamicClaimsPrincipalContributorCache files in my IdentityService Domain project and added the code you provided in the Domain module.cs file

Can you try to add all these files to the Domain?

Also, share the code you applied.

Great

hi

In your Domain module.

services.TryAddScoped<YourIdentityUserManager>();
services.TryAddScoped(typeof(UserManager<IdentityUser>), provider => provider.GetService(typeof(YourIdentityUserManager)));

But the UserManager.FindByIdAsync returns null.

Can you try to call this method manually?

hi

The user is null here: https://github.com/abpframework/abp/blob/net9/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/AuthorizeController.cs#L84

Is the user id 3a0daa97-5fba-2079-563c-3e26309bdc81 valid?

hi

Can I check it remotely?

https://us05web.zoom.us/j/84296078428?pwd=QPh9vbJQmZdQv47RAaNrqv7WNvMU6d.1

Join and share your screen.

Thanks

Usually, when you request the API, MVC will log out automatically.

If not, can you share Debug logs for API ,WEB and AuthServer?

Thanks!

Showing 3841 to 3850 of 11558 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.