Closed
Bug 1034843
Opened 10 years ago
Closed 10 years ago
When importing contacts from Google account into Firefox OS Contacts, "Accept" button is offscreen (Google OAUTH "This app would like to..." page is not mobile-friendly)
Categories
(Web Compatibility :: Site Reports, defect)
Web Compatibility
Site Reports
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 980635
People
(Reporter: dholbert, Unassigned)
References
()
Details
Attachments
(2 files)
STR: 1. Trigger the "import contacts from gmail" UI (open contacts app, tap the gear, tap "import contacts", tap "gmail") 2. Enter your username and password. 3. Inspect the Google "request for permissions" page that appears. ACTUAL RESULTS: The only visible button on the page is a "Cancel" button. No Accept/OK button. (But, if you pan the page to the right, you'll find that there's an "Accept" button just offscreen.) EXPECTED RESULTS: Accept button should be visible, for less user confusion & more-likely-to-be-successful contact importing. Not sure where this bug belongs (or what exact the URL of the permissions page is), but starting it out in Contacts, since that's the Gaia app involved here. * I can reproduce this on my Flame device, on "1.3.0.0-prerelease". * I can also reproduce on the simulator for Firefox OS 2.0. (started from desktop Firefox.)
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Unfortunately there is nothing we can do here since it's a page owned by google. Do we have a way to contact them to try to fix this?
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → english-us
Component: Gaia::Contacts → English US
Product: Firefox OS → Tech Evangelism
Version: unspecified → Trunk
Reporter | ||
Comment 4•10 years ago
|
||
FWIW, this can be reproduced in Firefox Desktop and Chrome Desktop, with a demo site like e.g.: http://demo.phpgang.com/google_login_oauth/index.php (Make sure to click "Cancel" on the confirmation page, since you presumably don't want to give the demo access to your Google account.) With a sufficiently-small window (emulating a mobile device), the permission-granting page has its "Accept" button clipped or off-screen entirely.
Summary: When importing contacts from google account, "Accept" button is offscreen → When importing contacts from Google account, "Accept" button is offscreen (Google OAUTH "This app would like to..." page is not mobile-friendly)
Reporter | ||
Comment 5•10 years ago
|
||
FWIW, the URL of the oauth page (for the demo in comment 4) is something like: https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/userinfo.email&response_type=code&redirect_uri=http://demo.phpgang.com/google_login_oauth/index.php&client_id=983016676599 (You can reproduce that by visiting that URL directly, if you like.)
Summary: When importing contacts from Google account, "Accept" button is offscreen (Google OAUTH "This app would like to..." page is not mobile-friendly) → When importing contacts from Google account into Firefox OS Contacts, "Accept" button is offscreen (Google OAUTH "This app would like to..." page is not mobile-friendly)
Reporter | ||
Comment 6•10 years ago
|
||
...and based on the gmail chunk of https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/test/unit/mock_oauthflow.js I think the URI where *we're* actually hitting this problem is: https://accounts.google.com/o/oauth2/auth?scope=https://www.google.com/m8/feeds/&response_type=code&redirect_uri=https://serene-cove-3587.herokuapp.com/liveowd/oauth2_new/flow_live.html&client_id=664741361278.apps.googleusercontent.com
Comment 7•10 years ago
|
||
ni? Francisco to see if there is anything the contacts app can do Thanks
Flags: needinfo?(francisco)
Comment 8•10 years ago
|
||
Unfortunately that page is owned by google and surprisingly is not mobile friendly totally. There is nothing that we can do in contacts as we are just doing a window.open. Regarding the url, the redirect_uri is never hit, since in FFOS we use the redirect based on manifest, so gecko detects that we are going to be redirected there but in the manifest we declare that to handle the redirection back to a document on our app: https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/manifest.webapp#L151
Flags: needinfo?(francisco)
Comment 9•10 years ago
|
||
Apparently Google uses user agent string to detect a mobile, as stated here: http://stackoverflow.com/questions/8982482/can-i-get-googles-oauth2-to-display-a-mobile-friendly-approval-page I don't know what it sniffs, but indeed if I change my UA to an android one, Google sends a page that fits on my mobile screen.
Comment 10•10 years ago
|
||
cc Karl, who I think has already contacted Google about this or a similar issue.
Assignee: english-us → nobody
Component: English US → Mobile
Comment 11•10 years ago
|
||
Marking as a dupe of 980635. Karl has reached out to Google about this.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•2 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•