Open Closed

Is AdministrationService Identity-Server Authorization actually used? #3155


User avatar
0
jogoertzen created
  • ABP Framework version: v5.1.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Identity Server Separated (Angular)
  • Exception message and stack trace: N/A
  • Steps to reproduce the issue:" N/A

This question is related to the Microservice Template.

The documentation here states that the MyProjectName_AdministrationService client is used by the administration service for requesting the user list in administration pages from the identity service, however I don't see the MyProjectName_AdministrationService client ever requesting an access token to do so in the logs. It seems like the MyProjectName_Angular client handles all requests to the identity service.

  • Can I safely delete the MyProjectName_AdministrationService client from my application?
  • Is the MyProjectName_AdministrationService client used in other startup templates (eg. Application Template) or UI types (eg. Blazor)?

I tried changing the client secret to see if anything breaks, but everything seems to work fine.

Thanks!


2 Answer(s)
  • User Avatar
    1
    gterdem created
    Senior .NET Developer

    It is used for User Permissions. When you try to grant permission to user, AdministrationService makes a request to IdentityService.

  • User Avatar
    0
    jogoertzen created

    Thanks! I was not aware of that.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19