Closed Bug 2005726 Opened 8 months ago Closed 5 months ago

Console does not consistently update user status after sign-out

Categories

(Enterprise Products :: Console, defect, P1)

Desktop
All

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2012442
Foxfooding

People

(Reporter: sbadau, Assigned: fiji)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Found in

Affected versions

Tested platforms

  • Affected platforms: Windows 11 x64, Ubuntu 24.04 and macOS 26

Preconditions

  • Firefox Enterprise is installed and a user is authenticated.
  • A Company admin is logged into the Console.

Steps to reproduce

  1. In Firefox Enterprise - click the Firefox Enterprise button in the Address Bar and choose Sign out.
  2. Go to the Console and check the Status of the user who just signed out.

Expected result

  • The user should be displayed in the Console as Signed out.

Actual result

  • The user is still displayed as Signed in.
  • This appears to be intermittent - some sign-out attempts do update the status correctly.

Regression range

  • this is not a regression.

I think this would be a backend bug, what do you think Florian?

Flags: needinfo?(fmerz)

I was not able to reproduce this. Can you?

Flags: needinfo?(fmerz) → needinfo?(sbadau)

(In reply to Florian Dieminger [:fiji] from comment #2)

I was not able to reproduce this. Can you?

I am still able to reproduce this issue. My user still appears as Signed in minutes after signing out from Firefox Enterprise.
I tested on the https://console-gcp-eu.enterfox.eu/ console using the following Firefox Enterprise versions:

  • 147.0a1 (Build ID: 20251205074303)
  • 148.0a1 (Build IDs: 20251211012204, 20251218081925, 20260109133619)

Please see the attached screenshot, where the “Last seen” time corresponds to the moment I signed out of the Firefox Enterprise browser using the Sign Out.

Flags: needinfo?(sbadau)

Hey Simona, just to double check, were you signed in on 2 different firefox at one point? Is it possible you didn't sign out from both?

Flags: needinfo?(sbadau)

(In reply to Julien Wajsberg [:julienw] from comment #4)

Hey Simona, just to double check, were you signed in on 2 different firefox at one point? Is it possible you didn't sign out from both?

I tested two different Firefox Enterprise versions on the same day, but not at the same time. Before checking the console, I signed out from the browser by using the toolbar button.
I’m not sure whether this is relevant or could have an impact, but please note that we only had access to https://console-gcp-eu.enterfox.eu/.

Flags: needinfo?(sbadau)

During testing, we noticed that the issue is intermittent.
I also observed an interesting discrepancy—please see the screenshot.

Flags: needinfo?(felash)

About the discrepency, I don't get the same information from the server in both cases.

In the list of users endpoint: https://console-gcp-eu.enterfox.eu/api/console/users
I get only one session for your user with "is_active": false,
But with the user details endpoint: https://console-gcp-eu.enterfox.eu/api/console/users/62bbb232-5a8f-44b7-973f-d324391ca766
I get 325 endpoints, whose 239 have "is_active": true.

ping @fiji about this.

About the fact the issue is intermittent, Florian also thought it might be a race at the client level, but I'm not sure how we could investigate it. Florian, do you know who could look at this ? Maybe Jonathan ?

Flags: needinfo?(felash) → needinfo?(fmerz)

I'll look into this. I landed the new session management a few weeks back.

Flags: needinfo?(fmerz)
Assignee: nobody → fmerz
Priority: -- → P1
Target Milestone: --- → Foxfooding
Duplicate of this bug: 2021833

Hello,
While testing this today we noticed that, while the session is removed from the console when using the Sign out functionality from the toolbar, this is not the case when using the "X" button, Quit functionality or ALT+F4 to close the browser.
Thank you.

LE: other scenarios to which theissue applies to:

  • Win and Ubu: File > Quit
  • Hamburger menu > Quit

Hey Gcp, probably somebody from your team should look at this? Or is it tracked in another bug already?

Flags: needinfo?(gpascutto)
Flags: needinfo?(gpascutto)

OK, let's dupe to it then

Status: NEW → RESOLVED
Closed: 5 months ago
Duplicate of bug: 2012442
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: