Activities of "richardf"

  • Template: app
  • Created ABP Studio Version: 0.8.2
  • Current ABP Studio Version: 0.9.25
  • Tiered: Yes
  • UI Framework: angular
  • Theme: leptonx
  • Theme Style: system
  • Progressive Web App: Yes
  • Database Provider: ef
  • Database Management System: mysql
  • Separate Tenant Schema: Yes
  • Mobile Framework: none
  • Public Website: No
  • Optional Modules:
    • LanguageManagement
    • AuditLogging
    • SaaS
    • OpenIddictAdmin
  • Exception message and full stack trace:

  • Steps to reproduce the issue: Need to call another app service endpoint.

From patient appservice call method in datamaintenance appservice.

so in my Patient Application module including service endpoint

protected IMedicalAidAppService MedicalAidHttpClient => LazyServiceProvider.LazyGetRequiredService<IMedicalAidAppService>();

this is defined in my datamaintenance module which the httpclient module exposes as :

public class DataMaintenanceHttpApiClientModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddHttpClientProxies(
            typeof(DataMaintenanceApplicationContractsModule).Assembly,
            DataMaintenanceRemoteServiceConsts.RemoteServiceName
        );

In my patient app service

[DependsOn(
    typeof(PatientDomainModule),
    typeof(PatientApplicationContractsModule),
    typeof(AbpDddApplicationModule),
    typeof(AbpAutoMapperModule),
    typeof(DataMaintenanceHttpApiClientModule),
    typeof(AbpHttpClientIdentityModelModule)
    )]

and calling :

public async Task<List<DefaultCodedNameValue<string>>> GetMedicalAidsAsync()
 {
     return await MedicalAidHttpClient.GetMedicalAidsAsync().ConfigureAwait(false);
 }

this works if no [Authorize] header in data maintenance appservice otherwise getting unauthorized.

Appsettings: in patient.http:

 "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "RemoteServices": {
    "DataMaintenance": {
      "BaseUrl": "https://localhost:55344",
      "UseCurrentAccessToken": "true"
    }
  }
}

if I authenticate to patient it works and in datamaintenance it works, but from patient to datamaintenance unauthorized.

So the auth token has the correct bearer in patient but not being passed through.

Pls can you assist

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button. Template: app

  • Created ABP Studio Version: 0.8.2
  • Current ABP Studio Version: 0.9.23
  • Tiered: Yes
  • UI Framework: angular
  • Theme: leptonx
  • Theme Style: system
  • Progressive Web App: Yes
  • Database Provider: ef
  • Database Management System: mysql
  • Separate Tenant Schema: Yes
  • Mobile Framework: none
  • Public Website: No
  • Optional Modules:
    • LanguageManagement
    • AuditLogging
    • SaaS
    • OpenIddictAdmin
  • Steps to reproduce the issue: I know that to be able to modify existing abp angular ui you would need to replace the existing component. I need guidance to be able to add lets say a BHFNumber for a tenant on maybe a seperate tab on the saas tenant create screen. I know that migrations need to run for the db to be created first and that seeding will kick off next and that an event is fired whereby the tenant created event is fired. At that point to maybe navigate to the settings tab where a parameters node will be activated where the user could enter the bhfnumber and save the settings or can you share the code with me to make changes to the tenant create ui to add a tab where the bhf number can be entered and the create shared tenant db checkbox can be removed or disabled.
  • Your assistance would be much appreciated.
Showing 1 to 2 of 2 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20