New issue
Advanced search Search tips

Issue 890708 link

Starred by 13 users

Issue metadata

Status: WontFix
Owner:
Closed: Oct 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Identity API contains wrong content

Reported by m.k...@texthelp.com, Oct 1

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
1. Use the latest stable Chrome with the latest stable OS X.
2. Log into chrome as a user with access to admin.google.com
3. Install a chrome extension that uses chrome.identity
4. Revoke any permissions if it has any
5. Use the extension in such a way that it call chrome.identity.getAuthToken

What is the expected behavior?
The "Identity API Scope Approval UI" window will pop up allowing the user to select and account or sign in. Once signed in the extension will use the credentials provided.

What went wrong?
The "Identity API Scope Approval UI" window pops up but the displayed page is admin.google.com/AdminHome

The user can not log in or authorise in any way.

Did this work before? Yes Previous version.

Does this work in other browsers? Yes

Chrome version: 69.0.3497.100  Channel: stable
OS Version: OS X 10.14.0
Flash Version: 

This works fine on Windows. If I log in on a Windows machine with syncing turned on the  Mac will then work correctly. Only if the identity screen needs to appear does it fail.
 
Screenshot 2018-10-01 at 11.24.56.png
222 KB View Download
We observe the same behavior on Windows. The admin.google.com is loaded in the popup that normally has the consent screen. 
Same behavior confirmed on Canary build: Version 71.0.3566.1 (Official Build) canary-dcheck (32-bit)
confirm_perms.png
81.4 KB View Download
Labels: Needs-Bisect Needs-Triage-M69
Hi,

I can confirm that I am seeing exactly the same behaviour on versions 69 (Windows), 70 (Chrome OS) and 71 (Chrome OS). It, therefore, seems to be cross-platform.

The issue only seems to occur when calling the Identity API (chrome.identity.getAuthToken) and a user interaction is required. A background token refresh works fine. It also _only_ seems to happen for G-Suite Admin/Super-Admin users (as noted by the original poster). Regular G-Suite or Gmail users are fine.

As the Approval UI window will not allow developer tool access, it isn't possible to view the redirects that end up with the admin console window displaying, although I note that typically the admin console requests the user re-enter their password before displaying in a normal session - but that does not appear to be the case here (e.g. a password is not requested).

It is quite frustrating for builders of extensions, as a number of small G-Suite customers are Admins in some way, and are essentially now prevented from using these tools (if they interact with the G-Suite world).

Many thanks in advance,

JD


Cc: jayhlee@google.com vkasatkin@google.com
Components: Enterprise
Labels: Hotlist-Enterprise
We have Enterprise customer reporting this issue in case# 17072865
Owner: msarda@chromium.org
Status: Assigned (was: Unconfirmed)
-> msarda@ for identity triage
Cc: swarnasree.mukkala@chromium.org
Labels: Triaged-ET TE-NeedsTriageFromHYD
Thanks for filing the issue.

This seems to be Enterprise related to issue, hence forwarding it to Inhouse team for further triaging of the issue.

Thanks.!
Owner: droger@chromium.org
David: Would you have time to look at this issue? I will send you an account that is an admin account and that has access to admin.google.com
I tried on trunk on linux and could not repro so far.

If you are able to repro, can you send a screenshot of:
chrome://identity-internals


Has something changed on the server end as it appears to be working correctly for me again? I've tried on several accounts.

I'm now reaching out to several customers who had the issue to see if it now works correctly for them too. I'll update when they get back to me.
Hi David,

So - here is a screenshot of chrome://identity-internals - I have omitted the working tokens (which have non-null Access Tokens).

Yours,

JD.
Screenshot 2018-10-05 at 08.48.13.png
19.9 KB View Download
I can also confirm that the errant admin.google.com page is now no longer being shown on sign-in for G-Suite Admin users (at least, on the extensions I have tested) - the identity flow seems to be working again as intended.

Yours,

JD
Status: WontFix (was: Assigned)
Marking as wont fix per comment #12. Please reopen if this reproduces again. This may have been a server-side issue.

Sign in to add a comment