فتح مغلق

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


User avatar
0
smutairi خلقت
  • 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 إجابة (إجابات)
  • User Avatar
    0
    maliming خلقت
    فريق الدعم 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 v8.2.0-preview Updated on مارس 25, 2024, 15:11