Open Closed

OpenIddict Administration menu not appearing in 6.0.0 upgrade #3826


User avatar
0
mattw@agilenova.com created

I followed the migration guide to upgrade from ABP 5.3.x (commercial) to ABP 6.0.0 (commercial), including the addition of cadministration.SetSubItemOrder(OpenIddictProMenus.GroupName, 2); to MyProjectAppMenuContributor.cs. Per the screen snapshot, the menu is not appearing in the portal:

    //Administration
    var administration = context.Menu.GetAdministration();
    administration.Order = 5;

    //Administration->Identity
    administration.SetSubItemOrder(IdentityMenuNames.GroupName, 1);

    //Administration->OpenIddict
    administration.SetSubItemOrder(OpenIddictProMenus.GroupName, 2);

    //Administration->Language Management
    administration.SetSubItemOrder(LanguageManagementMenuNames.GroupName, 3);

    //Administration->Text Template Management
    administration.SetSubItemOrder(TextTemplateManagementMainMenuNames.GroupName, 4);

MyProjectWebModule.cs depends on the OpenIddictPro modules:

typeof(AbpOpenIddictProWebModule),
typeof(AbpAccountPublicWebOpenIddictModule),
  • ABP Framework version: v6.0.0 Commercial
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no (monolothic)
  • **Theme: ** Lepton (not LeptonX)

Please advise.


1 Answer(s)
  • User Avatar
    0
    mattw@agilenova.com created

    I found the issue. I had to manually assign the OpenId permission to the admin user in order to see the menu option.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11