AppAuth-Android icon indicating copy to clipboard operation
AppAuth-Android copied to clipboard

Others having issue with custom tab and app links in Chrome 112.x.x.x?

Open yberstad opened this issue 2 years ago • 5 comments

Configuration

  • Version: 0.11.1
  • Integration: ReactNative (react-native-app-auth v.7.0.0-rc2)
  • Identity provider: Identity Server 6

Description

After installing Chrome version 112.x.x.x, we no longer get back to our app, using custom tab and app link: com.app.auth://signin-oidc (example url)

If I install the 111.x.x.x version of Chrome everything works fine. Same if I set Firefox as the default browser.

Has anyone else experienced the same issue? We experience this on various devices and Android versions.

Teste on Android 12 and Android 13.

We also have several customers reporting the same.

How to install other versions of Chrome: https://droidwin.com/how-to-downgrade-google-chrome-on-android-2-methods/

Various Chrome APK versions: https://chrome.en.uptodown.com/android/versions

yberstad avatar Apr 19 '23 17:04 yberstad

Are you getting a dialog shown like this one? I am also curious why this is happening, I guess it's a security "feature" introduced by Chrome.

It says: Continue with $appname? - This website wants to open $appname

Screenshot 2023-05-08 at 12 10 41

carstenhag avatar May 08 '23 10:05 carstenhag

Having tested this on 114.0.5735.196 both with AppLinks and custom scheme worked as expected.

Did notice if the user is being auto-logged in (having already logged into the host domain via the browser or another app), if the IdP does not have a manual confirmation step they'll get stuck in the browser.

This is something we have long commented on and most IdP have added an account selection step or consent screen as part of the flow to get that user interaction and provide better UX.

agologan avatar Jul 11 '23 20:07 agologan

@agologan Can you please explain what changed in the way how chrome is processing the redirects I have the case with the auto-login working on some versions of Chrome and on the version you mentioned (114.0.5735.196) I experience the same problem you explained with getting stuck in the browser.

KamenGoranchev avatar Jul 25 '23 21:07 KamenGoranchev