0
    
    
        
                    lht0502 created
                    
                    
                    
                
                - ABP Framework version: v7.0.0
 - UI Type: Angular
 - Database System: EF Core (SQL Server)
 - Tiered (for MVC) or Auth Server Separated (for Angular): yes
 - Exception message and full stack trace:
 - Steps to reproduce the issue:
 
Hi, we found the builder.DisableAccessTokenEncryption(); in the AbpOpenIddictAspNetCoreModule.cs. Is there a way to enable back the Access Token Encryption?
Thanks.
1 Answer(s)
- 
    0
hi
Angular needs to read the claims from the access token, so we disabled it.
but you can enable it by setting
DisableAccessTokenEncryptiontofalse.public override void PreConfigureServices(ServiceConfigurationContext context) { PreConfigure<OpenIddictServerBuilder>(builder => { builder.Configure(openIddictServerOptions => { openIddictServerOptions.DisableAccessTokenEncryption = false; }); } }