Redirect back to app after login Issue with Angular Auth OIDC Client in Ionic Capacitor

Discussão em 'Angular' iniciado por Manish Patidar, Outubro 9, 2024.

  1. I’m currently developing an Ionic app using Capacitor, and I'm integrating authentication using the Angular Auth OIDC Client. The authentication flow works perfectly in the browser, but I’m facing an issue when redirecting back to the mobile application after a successful login. Instead of returning to the app, it remains stuck in the browser.

    I’ve heard about deep linking as a potential solution, but I’m having trouble finding comprehensive documentation on how to implement it in my setup.

    My questions are:

    1. How can I properly set up deep linking in my Ionic app to handle redirects from the browser back to the app?
    2. Are there any specific configurations or steps required in the Angular Auth OIDC Client to make this work?

    I have tried modifying the capacitor.config.json file and adjusting the redirect URI in the OIDC configuration, but I’m still encountering issues. Any help or resources would be greatly appreciated!

    Continue reading...

Compartilhe esta Página