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