Hello guys, I have been trying for a while to find where the configuration of the interval for logging the healthchecks but I couldn't find it anywhere in the source code. The current configuration (which is the default) logs the healthcheck status every 10 seconds which pollutes my log files. I would like to set the interval for logging to a higher interval instead of 10 seconds.
Hello everyone,
I would like to get some information regarding mocking the CurrentUser instance for tests. I have tried this implementation that I found on google:
protected override void AfterAddApplication(IServiceCollection services) { currentUser = Substitute.For<ICurrentUser>(); services.AddSingleton(currentUser); }
I put this in my test class and when I debug it seems to work, but when the executing code reaches the CurrentUser instance in my application service, it throws null exception as shown below.!
Hi everyone, I am trying to disable the refresh token and offline access in my app. I have followed multiple steps either here on this forum or on the internet but I haven't been successful. What I have done so far is I disabled the refresh token on the frontend (Angular) in the OpenId section and I removed the "offline_access" from the scope in the .env file. I have looked in the backend but I couldn't find anywhere to remove the refresh token in the AuthServer. Once I have done these steps, I no longer have the refresh token stored in localStorage, but the behaviour still persists. I have lowered the validation duration of the access token to 10mins, but once it expires, the app automatically gets a new one and the user's session is extended. Basically what i'm stuck with is a never ending user session which is not desirable in our case.
Am I missing a step in the backend? is there anyway to force the user to re-authenticate after the session access token is expired?
Hello everyone,
I would like to inquire whether it is possible to secure the following endpoint: api/abp/application-configuration We are preparing to pass on production and the security audit run on the application raised the issue of this endpoint being non-secure and can be accessed by anyone, especially that it contains app and user information. I tried looking in the solution for this endpoint but I couldn't find it. Is there a way to secure it with the Authorize attribute or at least remove it if that's not going to affect the api?
Hi guys, I need help with console warnings with regard to Localization issue on Angular. The localization is working well, but I don't why I have a lot of warnings on the console as shown in the attached image. I tried googling but to no avail.
Hey guys, i'm trying to fix an issue I have on the frontend. I would like to clear the sessionStorage from an item I set during the session of a user. I've been looking around on the documentation and google but I couldn't find an answer. Is there a hook or a service exposed in Angular where I can clear the session on logout? Basically, I want to clear the sessionStorage when the user logs out. The issue i'm having is when I logout with an account, and log in with another, the items from the previous session are persisted and this is causing an issue.
Thank you
As the title says, I would like to customize the Claims component in angular, more specifically the "Value" input field. I would like it to be a dropdown list to select a value and assign it to the claim selected instead of the text input field. I looked into Replaceable Components but I couldn't find the Source Code of the default Claims component.
If anyone can direct me in the right direction to achieve my objective here, I would be very appreciative. Thank you