Need UX for Session Token management #4212
Comments
|
@vladikoff So these are browsers that have logged into FxA settings? |
Yes |
|
@ryanfeeley we will somehow filter out the sessionTokens used for Sync in that list. |
|
@vladikoff I assume you chose "destroy" because it functioned differently than disconnect. If true, why? |
I chose it to alert you ;) |
If a sessionToken is used for Sync, it will have a corresponding Device record. So IIUC any sessionTokens without a corresponding Device record are the one's we're interested in here. |
|
I think we need to be clear about what we are adding. It sounds like it is related to sessions for FxA Settings. We could present this as more of an "app" style. But I'm worried that we'll end up showing two for every device that is connected to Sync (making it look like there are four). Let's discuss further @rfk |
It's anything that's not Firefox Sync that has a login session to FxA. How to communicate that effectively to users is an open question. I like to use the example of, I've opened up Chrome and signed in to Pocket with my Firefox Account. That results in two new things being "connected" to my account:
That session token is not currently visible anywhere in the settings page. The only way to destroy it is to go back to that Chrome browser, visit https://accounts.firefox.com, and click "logout". Replace "I sign in to Pocket in Chrome" with "an attacker signs in to my account using a custom script and a leaked password" for something a little more sinister. There's no particular reason why the attacker's session token would show up in the current devices view. My over-arching principal here is: anything with active access to the user's account should show up somehow in this view.
I think we can do an OK job of this, if we should show precisely one record for every sessionToken that exists on the user's account:
There is one way that can go wrong - you can have a browser that's logged in to sync and also logged in via web content with a different sessionToken. We try to avoid it, but it can happen, particularly on developers machine where we're regularly signing into and out of things with FxA. In this case you'd see two entries that correspond to that single instance of Firefox. |
|
need to chat about this ... |
|
@rfk @ryanfeeley how do we proceed with this feature? |
|
We could ship a non-final-UX version of it behind a feature flag, visible only to mozilla and softvision accounts. This would let us get a feel for any edge-cases etc in practice, rather than trying to theorize about ways that it might get confusing. That said, the open UX questions I see here, and my naive suggestions for moving them forward, are as follows:
@ryanfeeley if you like we can talk through this in person next week, I'm pretty keen to see if move forward as it's the final towards achieving:
Which is pretty important IMHO. |
|
|
|
Continued in #4585 |

@ryanfeeley Here are my sessionTokens:
We need to UX to distinguish these sessionTokens. Example, see last 2 entries here:
The text was updated successfully, but these errors were encountered: