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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Hi,

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

    for example:

    myapp://

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.