打开 关闭

How to add user claim? #1328


User avatar
0
camping89@gmail.com 创建
  • 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 答案
  • User Avatar
    0
    alper 创建
    支持团队 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 创建
    支持团队 Director

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

  • User Avatar
    0
    ServiceBot 创建
    支持团队 Automatic process manager

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

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11