Open Closed

How to add user claim? #1328


User avatar
0
camping89@gmail.com created
  • ABP Framework version: v4.3.0
  • UI type: Blazor
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue: I want to add custom claims for user but cannot find anywhere to do it. Can you please tell me what should I do to make it work? Thank you.

3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    You can set custom claim values for a user. See https://docs.abp.io/en/commercial/latest/modules/identity#user-claims

  • User Avatar
    0
    alper created
    Support Team Director

    Also see how you can add AbpClaimsPrincipalContributor https://github.com/abpframework/abp/issues/8073#issuecomment-799999030

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56