Activities of "viktor"

Hi, liangshiwei

Thank you for your response. I would like to clarify:

Is the approach you suggested the only option available for implementing authentication/authorization in mobile apps (Android/iOS)? Are there any ABP-recommended best practices or alternative approaches for integrating an ABP backend with mobile apps in the authentication/authorization process?

Your guidance on this would be greatly appreciated.

Regards

  • ABP Framework version: v9.0.0 (Business plan)
  • UI Type: Angular + APP (Ionic + Angular build for Android and iOS)
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

Dear ABP Support Team,

We are currently developing a mobile application using the Ionic Framework for both Android and iOS platforms. The app's builds are being managed through Ionic Appflow. For the backend, we are using the ABP framework.

While testing our implementation, we encountered an issue with the login functionality:

When users attempt to log in through the app, they are redirected to the ABP backend login page. After successfully logging in on the backend page, the app attempts to redirect back to the frontend. However, this redirection fails as it tries to navigate to localhost, which is not valid in the mobile app context. Given this scenario, we have the following questions:

  1. Is it possible to implement a login flow within the mobile app itself, without redirecting users to the backend login page?
  2. If so, could you provide guidance, examples, or documentation on how to achieve this using the ABP framework?
  3. Are there specific configurations or adjustments we need to make (e.g., for OpenID Connect, JWT, or OAuth2) to support a seamless login process within the app?

We appreciate your help in resolving this issue and look forward to your advice. Please let us know if additional information or context is needed.

Regards

Hello,

Please check similar issue https://abp.io/support/questions/5249/Error-while-deploying-to-Azure-App-Service if it helps you.

Thanks

No, this one is not about settings. I just created plain ABP project using last 8.3.0 ABP Studio and it can not start on Azure. On local PC it works as expected. After deployment to Azure it can not start.

  • ABP Framework version: v8.3.0 Commercial
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:

On Windows Runtime Stack .NET 8 always same errors :

Application '/LM/W3SVC/740637018/ROOT' with physical root 'C:\home\site\wwwroot' has exited from Program.Main with exit code = '1'. Please check the stderr logs for more information. Process Id: 3416. File Version: 18.0.24201.8. Description: IIS ASP.NET Core Module V2 Request Handler. Commit:

Application '/LM/W3SVC/740637018/ROOT' with physical root 'C:\home\site\wwwroot' failed to load coreclr. Exception message: CLR worker thread exited prematurely Process Id: 3416. File Version: 18.0.24201.8. Description: IIS ASP.NET Core Module V2 Request Handler. Commit:

On Linux [Failed to start site] with same errors:

2024-09-24T05:58:31.5411410Z Container is running. 2024-09-24T05:58:32.4812371Z Container start method finished after 5157 ms. 2024-09-24T05:58:53.3633041Z Container has finished running with exit code: 1. 2024-09-24T05:58:53.3666983Z Container is terminating. Grace period: 5 seconds. 2024-09-24T05:58:53.3735082Z Stop and delete container. Retry count = 0 2024-09-24T05:58:53.3735914Z Stopping container: ***_489aecf1. 2024-09-24T05:58:53.4726895Z Deleting container: ***_489aecf1. Retry count = 0 2024-09-24T05:58:53.9930761Z Container spec TerminationMessagePolicy path 2024-09-24T05:58:53.9936419Z Container is terminated. Total time elapsed: 626 ms. 2024-09-24T05:58:53.9939562Z Site container: *** terminated during site startup. 2024-09-24T05:58:53.9947725Z Site startup probe failed after 21.5127556 seconds. 2024-09-24T05:58:54.0007288Z Failed to start site. Revert by stopping site. 2024-09-24T05:58:54.1374863Z Site: *** will be blocked for 2 minutes till 09/24/2024 06:00:54 2024-09-24T05:58:54.1378715Z Site: *** stopped.

  • Steps to reproduce the issue: Using ABP Studio created new solution On Azure created new App Service with .NET 8.0 runtime (tried Windows and Linux) Deply to Azure Getting 500.30 Tried to investigate but no eny additional information in Log Stream, no additional information in Event Logs...

Please provide steps should be done to deploy and run project on Azure.

On local windows PC everything works as expected.

Hi, @liangshiwe At this moment we can not upgrade full project. Is it any way to upgrade only this one component?

Hi, I cretaed new project and reproduce error. But on new project it redirects to home page. I start investigate why and I can see there is difference on source of component <abp-http-error> at html element <a >

On new project (created with abp suite with 8.1.3) I can see following:

but on my project (I used abp suite version 8.0.0) I can see this souce:

so how can I align component <abp-http-error>?

  • ABP Framework version: v8.2.0 - Commercial!
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Steps to reproduce the issue:

1 BUG: Click on button at Error Massage is not working. "Go to the homepage". Why it is presented if it do nothing? What is a way to control it?

Bad action with error 403... After getting this error I even can not click Back button on browser because it goes back to Forbidden page which gives again this error:

2 BUG: Can not translate message - it is not presented in dictionary and I can not find way how to translate it. I can translate Titile and Button title but I can not translate Message "Not found item!" - there is not such in dictionary.

Hi, @sumeyye.kurtulus Please check my last comment as we need help on this.

And one more **important **question: Is it any validation exists on backend services - looks like we may Impersonate any-to-any user even for those which has no Impersonate permissions assigned.

Hi, @sumeyye.kurtulus this looks ok if it related to Impersotaion. If user have permission so it will work. But we want to use Delegation.

From my example above (picture) I have CurrentUser and it allowed to "Login" based on Delegation from user John. What code for "Login" action (click) should be in such scenario? Looks to security issue.

Hi, @Anjali_Musmade Now it works. Thank you!

This issue could be closed. Thank you for for help and patience :)

Showing 1 to 10 of 33 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07