Activities of "liangshiwei"

Thank you for the quick response! It worked, but I’ve been using the same structure for the past 3–4 months without any issues. Do you have any idea why it suddenly stopped working?

I don't know why, I have checked the logic about suite, we have not changed for a year.

Answer

great

Hi,

Suite:

you can change this

Generate code

Your API definition response is not standardized.

See https://abp.io/support/questions/6319/Angular-Proxy-Generation-Cannot-read-properties-of-null-reading-%27replace%27#answer-3a0f8f60-fd10-54ed-9f29-0169898dcef4

Add MyAbpApiDefinitionController to Web project

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(AbpApiDefinitionController))]
public class MyAbpApiDefinitionController : AbpApiDefinitionController
{
    public MyAbpApiDefinitionController(IApiDescriptionModelProvider modelProvider) : base(modelProvider)
    {
    }

    public override ApplicationApiDescriptionModel Get(ApplicationApiDescriptionModelRequestDto model)
    {
        return RemoveNullParameters(base.Get(model));
    }

    public ApplicationApiDescriptionModel RemoveNullParameters(ApplicationApiDescriptionModel model)
    {
        foreach (var action in 
                 model.Modules.Select(x => x.Value)
                     .Select(api => api.Controllers).SelectMany(controllerApi => controllerApi.Values)
                     .SelectMany(controller => controller.Actions.Values))
        {

            action.Parameters.RemoveAll(x => x.Type == null && x.TypeSimple == null);
            action.ParametersOnMethod.RemoveAll(x => x.Type == null && x.TypeSimple == null);
        }

        return model;
    }
}

https://us05web.zoom.us/j/5929668302?pwd=UXl2M2RUeG5PazVSY2ZCOW1NMUxtZz09

Since the problem was resolved, i close this.

but we want to check the authorization, how can we do it?

You need to manually call the API to check it.

Answer

Hi,

make sure you generate oppeniddict.pfx file correctly

Add new Claim(AbpClaimTypes.TenantId, tenantId)

Hi,

could you please create a new question, thanks.

You can try to check if this issue can be reproduced locally or in other environments.

Hi,

Sorry, but I can't find anything.

Showing 611 to 620 of 6692 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 15, 2025, 12:19