Starts in:
99 DAYS
99 HRS
99 MIN
99 SEC
Starts in:
99 D
99 H
99 M
99 S

Activities of "gterdem"

If your external API is not abp module that implements an Http.Api.Client layer, you can make http requests using IHttpClientFactory and deserialize manually.

1. How should you look up a user in a microservice? For example, I want to choose a user from a list or I want to check some aspects of a user's details in an app service. Currently we have a local table with users, which is synchronized through ETOs (e.g. EntityCreatedEto) We then use this local repository for our queries. I noticed there is a UserLookupService that is used in CMS kit, but I can't seem to get this working in a microservice. I'm not sure of the best approach.

You can use http requests to IdentityService to get the user list (UserLookupService). To do that; add IdentityService.Application.Contracts to your microservice application layer (or application.contracts) and add IdentityService.Http.Api.Client to your microservice http.host layer with RemoteService configuration on appsettings.

2. How should we add users from a microservice? For example, in a workflow microservice, the user has entered an email of someone to assign a task, This user is not in the system yet so we want to invite/create user I'm assuming this is a standard inter-service communication to the identity service?

This seems very subtle for async communication. You can publish an event from your microservice and let your custom handler you create on IdentityService handle it. You can inject IdentityUserManager (default Microsoft Identity library) and create a new user. Furthermore, you can even publish a new event after successful user creation and let some microservice or a background job send an email to the user informing about it.

Extracting a Module as a Microservice guide is now available.

Then this may be related to AWS AKS altering the internal URL. Can you check with the AWS team? We didn't receive any similar issue from Azure AKS though.

Answer

Hello, Yes, we still have plans for deployment documentation however there are various application templates and various deployment environments.

The most complicated part of application deployment is the tiered/separated identity server template where you need to have extra steps to deploy the identity server and we have created the identity server deployment docs.

Other applications are pretty much the same as the default .net application or angular application. If you still need help with them, please provide the exact problem you have come across with logs so that we can assist better.

Hello,

Did you check 5.0 migration guide?

It seems SSL issue. Your certificate may not be trusted by the local machine. You may find faster solution about this problem since it seems a generic how to about publishing .net applications to AWS with SSL.

Also, please share related error parts of the logs under identityserver project Logs folder.

step-by-step guidelines on how to deploy the ABP (Angular) app to AWS using docker? I've read in the the forums, about 2 years ago, that there is a plan to release this guideline. Please advise.

Yes we have it on backlog but we I can't give exact time about it unfortunatelly.

  1. Considering you are using default Authorization Code with PKCE flow, remove offline_access scope from oidc configuration located at environment.ts file.
  2. I don't understand what do you mean by catch the response of request refresh token but if you disable refresh token, this step will be obsolete.

Hi support team, any new on this subject?

ABP design is to use single API resource to single API scope. Because we use permission management for authorization.

If you want to use scope based authorization for your api, just fine.

Can you explain your exact problem? Does IdentityServer Management UI not allowing you to use multiple scopes?

Showing 351 to 360 of 726 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 22, 2025, 10:44