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

Issue 729897 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature



Sign in to add a comment

Feature request to configure Custom Chrome tabs to close if an intent is triggered within that tab session

Project Member Reported by changjerry@google.com, Jun 6 2017

Issue description

For context, the feature request comes from trying to improve the experience for Android OAuth 2.0 flow via Custom Chrome tabs (https://github.com/openid/AppAuth-Android) within the Google Home Android app. Using Custom Chrome tabs as means to host the authentication flow is the Google Identity team's recommended approach for OAuth 2.0 integration.

Per the Google Identity team's recommendation, to avoid having a hanging Custom Chrome tab process upon completing the authentication flow (triggering an intent back to the client app) we've added the Intent.FLAG_ACTIVITY_NO_HISTORY flag to the custom tab intent.

However as a result, this is disruptive to 2-step factor authentication flows such as for users attempting to sign into Spotify with their Facebook. When users use this option to authenticate, they must login to Facebook first within the chrome tab. However users with 2-step verification for this flow must retrieve a security code from the Facebook app. However upon leaving the custom Chrome Chrome tab, it automatically closes due to the Intent.FLAG_ACTIVITY_NO_HISTORY. This leaves users who've created Spotify accounts via Facebook with 2 step verification unable to authenticate. See b/37588763 for more information.

Ideally we'd like to configure our Custom Chrome tab session to close when an intent is triggered within the Custom Chrome tab. This way we can avoid using the Intent.FLAG_ACTIVITY_NO_HISTORY flag which addresses the dangling Custom Chrome tab processes after OAuth flows and instead will close the tab when an intent is triggered to return back to the calling app.
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 13 2017

Labels: Hotlist-Google
Labels: Needs-triage-Mobile Triaged-Mobile Type-Feature
Components: UI>Browser>Mobile>CustomTabs
Status: Untriaged (was: Unconfirmed)
*** Bulk edit ***

Setting Feature Requests as: Untriaged 
Cc: bauerb@chromium.org
Labels: android-fe-triaged
Status: Available (was: Untriaged)

Comment 6 by bauerb@chromium.org, Apr 13 2018

Hey Jerry, it appears the internal bug has been marked as fixed. Can we close this issue?
Yes, I believe this is no longer an issue.

Comment 8 by bauerb@chromium.org, Apr 13 2018

Status: WontFix (was: Available)
OK, thanks for confirming!

Sign in to add a comment