New issue
Advanced search Search tips

Issue 628619 link

Starred by 4 users

Issue metadata

Status: Archived
Owner: ----
Closed: Feb 2018
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

ARC++: Add support for Dropbox authentication via custom data scheme

Reported by krzyszto...@gmail.com, Jul 15 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
Platform: 8530.13.0 (Official Build) dev-channel samus

Steps to reproduce the problem:
Try to authenticate Dropbox via a db-xxxxxxxxxxxxxxx custom data scheme while using Dropbox SDK.

What is the expected behavior?
Dropbox authentication via custom data scheme should be successful.

What went wrong?
Dropbox authentication can't be performed, because Chrome OS does not allow launching external applications via custom schemes (see screenshot).

Did this work before? N/A 

Chrome version: 53.0.2785.15  Channel: dev
OS Version: 53.0.2785.15
Flash Version: Shockwave Flash 22.0.0.200-r1
 
Screenshot 2016-07-15 at 15.42.21.png
177 KB View Download

Comment 2 by dchan@google.com, Aug 8 2016

Components: Platform>ARC
Is this an Android thing?

What happened to navigator.registerProtocolHandler ?

Seems like URL handlers are the newer way ?

Yes, the custom data scheme is sent by a standard Android intent (the metadata below is from the AndroidManifest.xml):

<activity android:name="com.dropbox.client2.android.AuthActivity"
      android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout"
      android:launchMode="singleTask" >
      <intent-filter>
        <data android:scheme="db-XXXXXXXXXXXXXXX" />
	<action android:name="android.intent.action.VIEW" />
	<category android:name="android.intent.category.BROWSABLE"/>
	<category android:name="android.intent.category.DEFAULT" />
      </intent-filter>
</activity>

After sending an intent we are waiting for a web browser for a result of the authentication. 
It started to work after one of the updates!
Project Member

Comment 6 by sheriffbot@chromium.org, Feb 14 2018

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

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

Sign in to add a comment