0
    
    
        
                    abllyboy created
                    
                    
                    
                
                - ABP Framework version: v5.2.0
 - UI type: MVC r
 - DB provider: EF Core
 - Tiered (MVC) or Identity Server Separated (Angular): yes
 - Exception message and stack trace:
 - Steps to reproduce the issue:"
 - Step1 I added my ClaimsPrincipalFactory in *.IdentityServer and added a claim named 'organizeName' like below
 
- Step2 And also I added organizeName in the "Identity resources" like below:
 
- Step3 Then I can found organizeName by CurrentUser.GetAllClaims() like below:
 
- Step4 And also add identity resources "organizeName" to Client "Infrastructure_App", like below:
 
- Step5And then I use Postman to get token, but the returned access_token' data don't contains my "organizeName" property.
 - So how can I add organizeName to JWT's data?
 

2 Answer(s)
- 
    1
Hi,
Try:
Configure<AbpClaimsServiceOptions>(options=> { options.RequestedClaims.Add(claimName...) }) - 
    0
It works,YYDS