After introducing static proxy for modules in v5.0, web gateways are using static proxies as default. Since they don't use dynamic proxies any more, gateways are no longer dependent on HttpApi layers of microservices. This allows you to easily switch to any other gateway (like envoy etc).
If you are looking for Swagger UI, gateway adds the swagger definitions of the services it is re-routing. So you can switch between them from the top right corner.
You can override localization of AbpIdentityServerResource
by extending it. Please check localization docs.
You need to create MyApplication_Swagger client in your database with related grant_type and redirect uri. In DbMigrator project, check the IdentityServerDataSeeder file and add your swagger application like others.
If you check the CreateClientAsync
method, it reads the root url from appsettings, so you need to update dbmigrator appsettings.json as well.
Did you try it in an other PC? Do you get the same result?
It seemed like a cpu issue to me. At the end, you are hosting and debugging on same machine.
at 15:01:46 you are making a login request and you got response at 15:01:51. AccountController.Login
action takes 4770ms doesn't seem normal.
Seems to me, it is related with your local server hardware. Maybe you can check if there is also some other live high priority process is also running when you start debugging the projects.
No, we don't have any common method that intercepts every query. Maybe customized data filters work for your case.
[ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name BIMS Health Status.
System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
You are getting errors from /health-status
endpoint because of invalid uri.
[ERR] Unknown client or not enabled: BIMS_Reports_Swagger
{"ClientId":null,"ClientName":null,"RedirectUri":null,"AllowedRedirectUris":null,"SubjectId":"anonymous","ResponseType":null,"ResponseMode":null,"GrantType":null,"RequestedScopes":"","State":null,"UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"response_type":"code","client_id":"BIMS_Reports_Swagger","redirect_uri":"https://storereport-apac.bata.com:44395/swagger/oauth2-redirect.html","scope":"BIMS_Reports","state":"V2VkIERlYyAxNSAyMDIxIDA5OjAxOjIxIEdNVCswODAwIChTaW5nYXBvcmUgU3RhbmRhcmQgVGltZSk="},"$type":"AuthorizeRequestValidationLog"}
You need to create a client in identityserver with the name BIMS_Reports_Swagger
. Your BIMS_Swagger has no problem with authentication, you should create BIMS_Reports_Swagger client with similar information with related scopes.
Version 5.0 requires .net 6 sdk. You need to install .net 6 sdk.
https://dotnet.microsoft.com/en-us/download/dotnet/6.0
Since you can't refresh the Reference Token, AccessTokenLifetime
is where the token lifetime is defined.
If it is not working for you, can you ask at identityserver github repo?
I think you are trying to signout from AzureAD aswell when you signout from identityserver. Some of the openid providers doesn't allow 3rd party end session.
Here is a question and answer about it https://docs.microsoft.com/en-us/answers/questions/224644/azure-b2c-federated-sign-out-is-not-complete-ident.html
Try running abp install-libs
under Web project.