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

Issue 803284 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

identity.onSignInChanged event listener not called when a managed user signs out

Reported by cyberhou...@gmail.com, Jan 18 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/57.0

Steps to reproduce the problem:
1.Register onSignInChanged event handler
2.Request the authToken 
3.Login with a managed account
4.Logout
5.Login with an unmanaged account
6.Logout

What is the expected behavior?
At steps 4 and 6 the event listener should be called.

What went wrong?
At step 4 the event listener is not called.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: Version 63.0.3239.132 (Official Build) (64-bit)  Channel: stable
OS Version: OS X 10.11
Flash Version: Shockwave Flash 21.0 r0

The event listener is also not called if logged in with an unmanaged account and when (in the sign out dialog) the tickbox to clear data on the device is ticked.
 
onSignInChanged.txt
400 bytes View Download
Labels: Needs-Triage-M63
Cc: krajshree@chromium.org
Components: Blink
Labels: Triaged-ET Needs-Feedback
Reporter@ - Thanks for filing the issue...!!

Could you please provide a sample test file/url to test the issue from TE-end.
This will help us in triaging the issue further.

Thanks...!!

Comment 3 by tkent@chromium.org, Jan 18 2018

Components: -Blink Platform>Extensions
Is the attached not enough?

Thanks
Bernd
Hello, Just following up this report. Do you have the required information in the original request and the sample file that was attached? This bug is causing some isues for Chrome extension users.

Adam
Owner: rdevlin....@chromium.org
Status: Assigned (was: Unconfirmed)
mac triage: assigning to rdevlin.cronin - what do you make of this?
Cc: rdevlin....@chromium.org
Owner: msarda@chromium.org
-> msarda@ for identity triage
Hello,

By design, when the user signs out of a managed account the Profile is blown away. In that context it doesn't seem surprising that the listener isn't called, since the listener is itself presumably running in the context of that Profile and hence is also blown away.

I think that the "clear data on the device" could be conceptually similar: is the extension part of the data that is cleared?

Let me know if I'm misunderstanding something here :).
Owner: blundell@chromium.org

Sign in to add a comment