Open Closed

Migration to OpenIdDict while upgrading ABP from V5 to V6 - Having custom claim #4125


User avatar
0
smutairi created
  • ABP Framework version: v6.0.1
  • UI type: Blazor
  • DB provider: EF Core

I am upgrading from V5.3 to V6.0.1 and at the same time am trying to remove IdentityServer dependency.

I am currently using a custom claim added as below (Domain Project)... how to accomblish the same with OpenIdDict module

Configure<AbpClaimsServiceOptions>(options => { options.RequestedClaims.Add("MY_CUSTOM_CLAIM"); });


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://docs.abp.io/en/abp/latest/Modules/OpenIddict#updating-claims-in-access_token-and-id_token https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09