Activities of "nhontran"

Hi @maliming, this is the screenshot:

do you know which keyword caused the issue?

Hmm... I just tried again with totally new module template, it works fine, look like something wrong with my current project.

I will double check, please ignore it.

noted, thank @maliming

Hi @EngicanV, thanks for the reply.

Hi, anyone can help us on this query?

Hi @maliming, which version did you check? it does not work with version 5.2.2.

Could you check and let me know? Thank you.

Hi @maliming, I have tried and it does not work, the claim is not returned in the claim list:

public class CustomClaimsPrincipalContributor : IAbpClaimsPrincipalContributor, ITransientDependency
    {
        public Task ContributeAsync(AbpClaimsPrincipalContributorContext context)
        {
            var identity = context.ClaimsPrincipal.Identities.FirstOrDefault();
            if (identity != null)
            {
                // these 2 claims not found
                var uniqueNameClaim = identity.FindFirst("unique_name");
                var preferredUserNameClaim = identity.FindFirst("preferred_username");
                identity.TryRemoveClaim(uniqueNameClaim);
                identity.TryRemoveClaim(preferredUserNameClaim);
            }
            return Task.CompletedTask;
        }
    }

Thank @maliming, I managed to replace the file.

Hi maliming,

Thanks for your reply, may I know what are the steps to replace the jquery-extensions.js?

Hi @maliming,

I have disabled the bundle and minify, this is the code caused the error:

Could you please help us take a look? thank you.

Showing 11 to 20 of 143 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54