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

सवाल

Good morning. The problem is after deploy we can login as an admin but after few time we can not to login at all and get this error message:

error: "invalid_request" error_description: "This client application is not allowed to use the specified scope." error_uri: "https://documentation.openiddict.com/errors/ID2051"

If we deploy application (without some changes we can login again but after few time can not). Also I tried to use the link below but this page is empty

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
सवाल

How can I mock grpc server for tests? I have 2 microservices and from one of them i send request through gprc to second one. I have overwrited AfterAddApplication. This works but the request is sent to real service and of couse i got exception.

protected override void AfterAddApplication(IServiceCollection services)
{
    _client = Substitute.For<MyClass>();
    var responce = AsyncUnaryCall<SomeClass>(); //responce with real value
    _client.GetAllAsync(Arg.Any<Request>()).Returns(responce);
    services.AddSingleton(_client);
}
22 प्रविष्टियों में 21 से 22 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11