Kukhonjiswa imibuzo ethegiwe: Veza yonke imibuzo

CustomTabs don't redirect to app

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… (funda kabanzi)

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.

Asked by thechubbypanda 9 amahora adlule