Käyttäjän "SamirBoutazzout" toiminnot

Kysymys

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.

  • ABP Framework version: v6.0.2
  • UI Type: Angular
  • Database System: EF Core PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

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.!

  • ABP Framework version: v6.0.2 Commercial
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: System.NullReferenceException: 'Object reference not set to an instance of an object.'
  • Steps to reproduce the issue:
Kysymys

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?

  • ABP Framework version: v6.0.1
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated (for Angular)

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?

  • ABP Framework version: v6.0.2
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated

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.

  • ABP Framework version: v6.0.2 Commercial
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated

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

  • ABP Framework version: v6.0.2 Commercial
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

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

  • ABP Framework version: v6.0.2 Commercial
  • UI Type: Angular
  • Database System: EF Core PostgreSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
Näytetään 1 - 7/7 tietueesta
Made with ❤️ on ABP v8.2.0-preview Updated on maaliskuuta 25, 2024, 15.11