Open Closed

Multiple claims of the same type are not included when using the IAbpClaimsPrincipalContributor #1056

michael.sudnik created
  • ABP Framework version: v4.2.1
  • UI type: MVC
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

The AbpUserClaimsPrincipalFactory is using the ClaimsIdentityExtensions.AddIfNotContains extension method, which is not adding any claims of the same type.

What is the best way to replace or override this factory?

2 Answer(s)
  • 0
    maliming created
    Support Team

    hi @michael.sudnik

    I will improve this feature, You can override AbpUserClaimsPrincipalFactory service for now.

  • 0
    ServiceBot created
    Support Team

    This question has been automatically marked as stale because it has not had recent activity.