Starts in:
2 DAYS
0 HR
22 MIN
42 SEC
Starts in:
2 D
0 H
22 M
42 S

Activities of "n.uerkmez"

Hi,

But the profile picture request was redirected to the host API not the auth server.

Could you share the code?

Sorry, what code? Do you mean Angular environment configuration? If so, can I send it to you privately?

Do you have any chance to test it in an environment that is different from localhost with a separate auth server? What configuration do you need to understand the issue? I can share with you privately

I have checked. It is configured as expected. The strange thing is that part of it doesn't work. Login, and logout work properly. User management is working as well. But the profile picture request was redirected to the host API not the auth server.

I have already updated to v.8.10, but I still have this problem. It works fine on localhost. But, after deploying azure, unfortunately only the account module of the application is not consuming resources in the right base URL (Auth server). It consumes Host api url instead for account module.

I have following issue in azure static web app. Auth server is a separated server.

host-app/api/account/profile-picture/3a56f8d5-bf2b-ba87-433d-3a1130099bff 404 (Not Found)
host-app/api/account/user-delegation/my-delegated-users 404 (Not Found)

Some pages are not working properly on Angular side. However, in Auth server I can reach out this page.

It could be a bug, all application is working properly, except account navigation. These endpoints exist in the auth server. But, the Angular app sends requests to the host API for the account module.

Any suggestion?

I have found a way. You can close this ticket. Thanks

import { ProfilePictureService } from '@volo/abp.commercial.ng.ui/config';

export class YourComponent { protected readonly profilePictureService = inject(ProfilePictureService); userId = '997'; response;

ngOnInit(): void { this.profilePictureService.getProfilePicture(this.userId).subscribe(res => { this.response = response; }); } }

Can you provide html template as well ?The following example is correct or?

<img [src]= "this.response.fileContent">

Great, Thanks

  • ABP Framework version: v8.1.0.rc3
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Hi, I want to consume the profile pictures that are already uploaded via the profile page, for a list that is in the angular custom component. How can I consume this profile picture from the backend ( separated authserver) and angular frontend?

Thanks

Ok. Thanks

Thanks that is really helpful.

Is there any way to cache ListService result for a while like in the rx.js operator SharePlay()?

Showing 41 to 50 of 97 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06