Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Learn More

CustomTabs don't redirect to app

  • Mbohavai’ỹre
  • 0 oguereko ko apañuãi
more options

I'm developing an android app that uses the OAuth2.0 auth code flow to authenticate users. The app launches a CustomTab which in turn, responds with a redirect to the app's redirect scheme. Chrome redirects immediately, closing the CustomTab. Firefox does nothing regardless of the state of the "Open in app" setting.

In order to reproduce this: 1. Create an android app with a redirect scheme 2. Create a webserver that simply redirects to that scheme 3. From the app, open a CustomTab to the webserver 4. Observe the CustomTab not redirect

For a more concrete example, I can reliably reproduce using the sample app from https://github.com/kalinjul/kotlin-multiplatform-oidc and an [Authentik](https://goauthentik.io/) server but I'm sure something like Auth0 would have the same problem.

I'm developing an android app that uses the OAuth2.0 auth code flow to authenticate users. The app launches a CustomTab which in turn, responds with a redirect to the app's redirect scheme. Chrome redirects immediately, closing the CustomTab. Firefox does nothing regardless of the state of the "Open in app" setting. In order to reproduce this: 1. Create an android app with a redirect scheme 2. Create a webserver that simply redirects to that scheme 3. From the app, open a CustomTab to the webserver 4. Observe the CustomTab not redirect For a more concrete example, I can reliably reproduce using the sample app from https://github.com/kalinjul/kotlin-multiplatform-oidc and an [Authentik](https://goauthentik.io/) server but I'm sure something like Auth0 would have the same problem.

Nde eikéke nde mba’etepe embohovái hag̃ua ñe’ẽmondo. Ikatúpa, emoñepyrũ peteĩ porandu, ndereguerekói gueteriramo nemba’ete.