Activities of "shobhit"

yes. i have tried that but not working.

Question
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Team, How i can use "Azure redis cache" in place of local redis server.

Thanks it's resolved.

i was not passing "ConcurrencyStamp" and it was breaking the update code.

IdentityUserDto identityUser = await _identityUserAppService.GetAsync(input.AppUserId);

        IdentityUserUpdateDto identityUserUpdateDto = new()
        {
            Email = input.Email,
            Name = input.Name,
            Surname = input.Surname,
            PhoneNumber = input.PhoneNumber,
            UserName = identityUser.UserName,
            ConcurrencyStamp = identityUser.ConcurrencyStamp                
        };            

        _ = await _identityUserAppService.UpdateAsync(input.AppUserId, identityUserUpdateDto);
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Team, WHat is the API/ Reporsitory i have to use to update user information like name, surname, email and phone no. I have tried with IIdentityUserRepository.Update() and IdentityUserAppService.Update() method but i am getting error. Considering i am doing this using Host --> Admin role user.

Question
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

how i can create organization unit in api. i have tried with IOrganizationRepo.InsertAsync() but it is breaking as code is manadatory and there is no way i can set Code.

Hello @maliming, Thanks. i have refered the "Register" code and now can register the user. Now my question is how i can get the auth token for external user login i.e. google login user. Like steps are:

  1. user click on google login button
  2. user provide google credentials
  3. app receive google auth token
  4. Assume user is registered in idetnity server
  5. now how to use this auth token to get the identity server auth token so that api can be consumed in mobile app

Similarly tenant conneciton string is available in host db --> SaasTenantConnectionStrings table. My assumption is ABP framework should take care of connection string from this table instead of hardcoding in the applicaiotn. we will have multiple tenant so we cannot keep adding connection string in code.

Hello @maliming, Can you please confirm where exactly you have made changes i.e. class and method. will follow in future.

Hello @maliming, Thanks but i am confused.

  1. if external user registeration taken care by ASP NET Core Identity then how i have to register Exernal user.
  2. Currently to register local user we are using "/api/account/register" api endpoint. we will give a try with same api end point for external provider user registeration
  3. how ASP NET Core identity will determine the External provider like "Google"?
  4. when we login to any external provider we gets access token and id token as response, do we have to use them?

Hello @maliming, i am not sure how you have mention that there is no tenant exist. i have created 1 tenant and seperate DB for tenant. Please refer the attached screen shot. I have not shared the tenant and host db credentials in code due to security.

as per attached screen shot:

  • dev_aztute is host db
  • dev_identity is tenant db

Tenant db has only following tables (higlited one is custom table. this is the same table which is not getting populated with data):

Showing 141 to 150 of 349 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30