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"); });

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.