New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 649701 link

Starred by 5 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Custom tabs auth flow does not reactivate client app

Reported by scoleman...@gmail.com, Sep 23 2016

Issue description

Application Version (from "Chrome Settings > About Chrome"): 
Android Build Number (from "Android Settings > About Phone/Tablet"): 
Device: Samsung Note 5

Steps to reproduce: 
Use Chrome tabs to open a REST uri
(Which causes a redirect)

Observed behavior: 
First time everything works fine. Second and further attempts the app crashes. No logging is available

Expected behavior: 
Chrome Tabs should just toto the redirect URL

Frequency: HAppens every time (after the first)


Additional comments: 
Appears to have something to to dwith Caching

 
Cc: yus...@chromium.org
Components: UI>Browser>Mobile>CustomTabs
Owner: ian...@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by ian...@chromium.org, Sep 23 2016

Could you give us more information?

Usually a "REST URI" is used to fetch some serialized json from client to server. I am not sure what it means on Android.
Thanks for the quick response. I should have been more specific. The issues
is in an OAuth flow

To authenticate via OAuth I use a URL such as this:

https://www.fitbit.com/oauth2/authorize?redirect_uri=t2gspan://logincallback&response_type=code&client_id=227GJH&scope=profile.
..

I create a Chrome tabs session and launch to this url. The server receives
and processes this request, then issues a redirect to the "redirect uri" -
uri=t2gspan://logincallback.

I have enabled a deep link (activity) in my android application that
launches when it sees this redirect uri. The activity then completes the
authentication process.

This works fine the first time I authenticate. however, in the second and
subsequent times the app is backgrounded and nothing happens (the deep link
is not activated). If I clear the Chrome cache on the Android device it
works again (once) .

This stack overflow is the same issue (only mine didn't get fixed by adding
the warmup call - I already had thst,
http://stackoverflow.com/questions/36084681/chrome-custom-tabs-redirect-to-android-app-will-close-the-app
Facing the exact same issue on Android 6.0.1, Nexus 6
Behavior is random and also changes based on setting the redirect activity to single instance"
Do you mind testing this on Chrome Dev channel and checking if your issue persists?

Comment 6 by ian...@chromium.org, Jan 25 2017

Cc: -yus...@chromium.org
Owner: yus...@chromium.org
Status: Available (was: Assigned)
Project Member

Comment 7 by sheriffbot@chromium.org, Feb 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 by bauerb@chromium.org, Feb 23 2018

Summary: Custom tabs auth flow does not reactivate client app (was: Issue Summary)

Comment 9 by peconn@chromium.org, Mar 15 2018

Cc: bauerb@chromium.org yus...@chromium.org peconn@chromium.org
Labels: android-fe-triaged Needs-TestConfirmation Pri-3 Type-Bug
Owner: ----
Status: Available (was: Untriaged)

Sign in to add a comment