Ends in:
2 DAYS
12 HRS
28 MIN
42 SEC
Ends in:
2 D
12 H
28 M
42 S
Open Closed

Ionic redirect url authentication #7600


User avatar
0
malvarado created

ABP Framework version: v7.4.1 UI Type: Angular Database System: EF Core (SQL Server) Tiered (for MVC) or Auth Server Separated (for Angular): Yes

Problem Description I am facing an authentication issue when testing my application on Android mobile devices. I have followed the article step by step https://abp.io/community/articles/creating-mobile-apps-using-ionic-and-abp-framework-ix98a3rr. However, when attempting to log in, the external browser opens and never redirects back to the app.

This issue does not occur when I test the application in the web browser, only on Android mobile devices.

  • Exception message and full stack trace: (No specific exception provided as the main issue is the unexpected behavior of the external browser.)

  • Steps to reproduce the issue: 1-Follow the article Creating Mobile Apps using Ionic and ABP Framework to set up your mobile application. 2-Run the application on an Android mobile device (ionic cordova run android). 3-Attempt to log in. 4-Observe that the external browser opens and never redirects back to the application.

I hope you can help me resolve this authentication issue on Android mobile devices. Thank you in advance for your attention and support.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    for android, it requires a special callback URL : https://mariana-costa.web.app/writing/capacitor-google-oauth/

    for example:

    myapp://

Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35