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

Issue 181186 link

Starred by 68 users

Issue metadata

Status: Fixed
Owner:
Email to this user bounced
Closed: Mar 2013
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: ----



Sign in to add a comment

Cannot open oauth v1 callback URLs (ERR_UNKNOWN_URL_SCHEME)

Reported by pauldbou...@gmail.com, Mar 8 2013

Issue description

Device name: Nexus 4 (reproduced on other devices)

From "Settings > About Chrome"
Application version: 25.0.1364.123
OS: Android 4.2.2; Nexus 4 Build/JDQ39

URLs (if applicable):

Behavior in Android Browser (if applicable): Works in all other browsers tested.



Steps to reproduce:
1. Install and run http://dl.dropbox.com/u/307364/FlickrjAndroidSampleActivity-debug.apk (source available from https://github.com/yuyang226/FlickrjApi4Android)
2. Select Chrome and authorise the app with Flickr

Expected result:
Chrome should launch the app specified by the callback url.

Actual result:
Chrome fails to launch receiving app and instead displays the page shown in the attached screenshot.

Notes:
You will need a Flickr account to authorise the sample app, I'm aware this is less than ideal.  But there is a definite reproducible regression here.(You can authorise with Flickr using a Google account which may help).

Any similar app that uses OAuth v1 will suffer from this problem, though many use an internal WebView that just so happens to work around it.
 
Screenshot_2013-03-08-14-18-48.png
116 KB View Download
This is possibly related to  Issue 170925  and  Issue 170880 
Cc: jknotten@chromium.org
Owner: mkosiba@chromium.org
I am also having the exact same issue since the most recent Chrome for Andorid update. Please fix it ASAP!

Comment 4 by Deleted ...@, Mar 11 2013

same issue here, switch to 'Browser', the built-in app in android, will work, but not chrome with the latest updates. please fix, thanks.
I tried this on 25.0.1364.123, authorising with a Google account, and was unable to reproduce the problem (worked for me). It might be that the Flickr redirect back to the native application has changed since this bug was filed. 

Is this still a problem? What is the failure rate? Is it specific to any kind of account (e.g. Google / Yahoo / etc/) ?
Still seeing this in our app with 25.0.1364.169; not sure whether the example app has changed.
Mat, is your app public? Any chance I can try with it?
The app is here, but will need a username and password sent separately; I can email credentials over if you'd like

https://play.google.com/store/apps/details?id=uk.ac.warwick.startwarwick
@jknot It curious that it's working for you.  Here's another quite accessible app that it happens with: https://play.google.com/store/apps/details?id=com.jjinx.dropboxdownloader (If you have the dropbox app installed you will need to uninstall it first, so it will try to authenticate using the browser).
Screenshot_2013-03-11-11-44-36.png
116 KB View Download
Status: Untriaged
Ok, I got this to repro on a Nexus 7. It repro'd for a Yahoo and a Google account. I used the same version as @jknotten.
Also repro'd on Nexus 7. It seems that the problem is that URL overriding code is not being activated because there is a redirect to a 'form submit' (page transition type 7):

The authorize button on the page does a form submit to http://www.flickr.com/services/oauth/authorize.gne which redirects to flickrj-android-sample-oauth://... 


Project Member

Comment 12 by bugdroid1@chromium.org, Mar 11 2013

Project: .../internal/apps
Branch : master
Author : John Knottenbelt <jknotten@chromium.org>
Commit : 7d9974f13444641fb0f89e34f9be7d2334764914

Code Review +2: John Knottenbelt, Marcin Kosiba
Verified    +1: John Knottenbelt
Change-Id     : I95a2cdaef2f302c753bacfab9f891254dbfe911e
Reviewed-at   : https://gerrit-int.chromium.org/33572
Status: Fixed
Great news, thanks for your work all.
Labels: Merge-Requested
The fix is low risk IMO, and both me and John agree that it'd be worth merging to M26.
Labels: -Merge-Requested
argh.. forgot that this needs to go through a Canary first.

Comment 17 by k...@google.com, Mar 22 2013

Labels: M-26 Merge-Approved ReleaseBlock-Stable

Comment 18 by k...@google.com, Mar 22 2013

Cc: michaelbai@chromium.org owale@chromium.org vinodkr@chromium.org mkosiba@chromium.org
 Issue 170880  has been merged into this issue.

Comment 19 by k...@google.com, Mar 22 2013

 Issue 170880  has been merged into this issue.
Project Member

Comment 20 by bugdroid1@chromium.org, Mar 22 2013

Project  : .../internal/apps
Branch   : 1410
Author   : John Knottenbelt <jknotten@chromium.org>
Committer: Marcin Kosiba <mkosiba@google.com>
Commit   : 4c1e5a08cde5dbd059291159c4d7339c9be9ec23

Code Review +2: Marcin Kosiba
Verified    +1: Marcin Kosiba
Change-Id     : I717c2a4edc2aae5ff20a8ca663d3adb669c21475
Reviewed-at   : https://gerrit-int.chromium.org/34326

Comment 21 by k...@google.com, Mar 22 2013

Labels: -Merge-Approved Merge-Merged
Thanks for the fix. Our app is working again

Comment 23 by Deleted ...@, Jun 20 2013

Hi Paul, 

I am facing similar issue that you mentioned above on latest Chrome Version 27.0.1453.90 If I uninstall the latest update of Chrome, my app works well on Chrome version 18.0.1025469

So if possible can you please retest your issue with latest Chrome update or provide me the link of your APK "FlickrjAndroidSampleActivity-debug.apk".
@23 Just tested authorising my Flickr app Glimmr with Chrome 27.0.1453.90, doesn't appear to be any problem (Glimmr uses the same mechanisms as FlickrjAndroidSampleActivity).  You should be able to build the apk from the github repo provided in OP.

Comment 25 by Deleted ...@, Jul 4 2013

Same problem here, with version 27.0.1453.90 of chrome on nexus 10 and nexus 4, i get ERR_UNKNOWN_URL_SCHEME while it's working on other browsers.

Comment 26 by Deleted ...@, Jul 12 2013

Still not working. Updated to latest.

Expected result:
Chrome should launch the app specified by the callback url.

Actual result:
Chrome fails to launch receiving app and instead displays the page shown in the attached screenshot.
This bug is marked as fixed and the author of the original issue (and more importantly original repro steps) confirmed this as fixed.
Since you're reporting that this is still not fixed, please file a new bug or at least provide the exact repro steps. Saying 'still not working' is not actionable for us. What isn't working, which app? what device? which version, which channel of Chrome? what exactly did you do to trigger the error?

Comment 28 by Deleted ...@, Jul 18 2013

This issue started occurring after a recent chrome update. Custom App URLs are not being recognized and chrome throws the same error as shown in the screenshot above.

Chrome Ver: 28.0.1500.64
Phone: Nexus 4
Android OS: 4.2.2
I'm having the same issue here. We have an app that is for iOS and Android devices.

So now I have to differ not only in "isIos" and "isAndroid", but rather in "isIos" and "isAndroid", and if "isAndroid", then is it "Chrome over V. 25?", then use this... 

Another major usability problem in my view is that when using the Intent-Uri-Scheme, Chrome/Android fall back to the store. BUT if the device is not supported the user gets an message stating the "pname:xxx.xxx..." could not be find. With the custom-Scheme-Uri method I could intercept after some timeout and direct the user to the play store, where as opposed to the Intent method, the user sees the app-detail-page with a nice warning that says "Your device isn't compatible with this version".

Anyone else ran into this?
 Issue 170880  has been merged into this issue.

Comment 31 Deleted

Comment 32 Deleted

Comment 33 Deleted

Comment 34 Deleted

Comment 35 Deleted

Comment 36 Deleted

Comment 37 Deleted

Comment 38 Deleted

Comment 39 Deleted

Comment 40 Deleted

Comment 41 Deleted

Comment 42 Deleted

Comment 43 Deleted

Comment 44 Deleted

Comment 45 Deleted

Comment 46 Deleted

Comment 47 Deleted

Comment 48 Deleted

Comment 49 Deleted

Comment 50 Deleted

Comment 51 Deleted

Comment 52 Deleted

Sign in to add a comment