"SamirBoutazzout" की गतिविधियाँ

उत्तर

Hi,

You can configure the Polling interval

https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks?tab=readme-ov-file#ui-polling-interval

Perfect. Thank you very much.

उत्तर

Do you mean the stacktrace of the exception? Nothing is logged in the log file when the test throws the exception.

उत्तर

Thank you very much liangshiwei. That solved the issue.

उत्तर

Hi,

It works for me

Thanks liangshiwei, That's exactly what I did and the same result I got but the JWT access token still gets renewed after expiry even though the refresh token is not there. In your case, if you for example set the JWT token expiry time in 10mins, does the app send a new request for a new one and gets it?

Hi

yes you can override the controller
see examples of how you can do it here

https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services

https://github.com/abpframework/abp/blob/99806b7621fdc10cf2c6e6f4d994612656bda870/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationController.cs#L9

you can override this controller and add the authorize attribute to the controller class.

but i think it will create bugs as it needs the application configurations like languages and other information from backend.

you can modify the code inside

overriding this service

https://github.com/abpframework/abp/blob/99806b7621fdc10cf2c6e6f4d994612656bda870/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L28

Thank you very much. This worked but as you mentioned it broke the app unfortunately. The endpoint is not supposed to be authorized.

Hello Anjali, Thank you very much indeed for your help. Unfortunately the suggestions provided in the github issue link didn't solve my problem. Is it possible to download the source code for the ApplicationConfiguration in my solution or override it somewhere? Just adding the Authorize attribute will solve it for me but i'm not sure if that's going to introduce any bugs or breaking changes to the system.

Off-topic, we found a high risk XSS vulnerability on Angular project, specifically in the Language Management section when editing Language Texts. Where I can report it?

Hello SamirBoutazzout,

I am not able to reproduce the issue is it possible to share a sample solution with this issue to support@abp.io with ticket id.

regards, Anjali

Thank you very much for the assistance. I will see if I can re-create this issue in a sample solution.

Hello SamirBoutazzout,

I think you missed to add :: wherever you used | abpLocalization that's why it is throwing error. Please check just like in below screenshot

for another error please have look to this similar issue https://support.abp.io/QA/Questions/4875 Please do let me know if anything else needed

Thank you, Anjali

Thank you very much indeed for your response. I am actually using the localization pipe in the html components and it's working fine. The console warnings are coming from the routes provided in the specified components, here is an example of the part of the code that is triggering the warning:

As it is auto generated by abp, I don't know where cause the issue causing this be.

Hi Anjali_Musmade,

Thank you very much. That worked like a charm. I appreciate it.

9 प्रविष्टियों में 1 से 9 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11