Prefer {uid,email} to {email} throughout #3062
Comments
|
@ncalexan is this required for the first version of fx_fennec_v1? I think we are going to target the next train for this feature |
|
On Tue, Oct 6, 2015 at 9:21 AM, Vlad Filippov notifications@github.com
|
|
Looking at the code linked and the @ncalexan what other pages did you have in mind when you said
a bit of an edge case. However if that happens I assume the session will be different or expired. side-note: I think we were looking into the uid vs email problem with the primary email change as well. @shane-tomlinson @rfk thoughts? |
|
On Wed, Oct 7, 2015 at 11:58 AM, Vlad Filippov notifications@github.com
I agree that this is an edge case, but this ticket is partly for education |
|
I support the general direction here, of "prefer uid= to email= as a way to identify the user where possible", since it's a more robust and stable identifier.
In this case, I think we need the email address to show an appropriately-filled-out login screen. We can't necessarily lookup the email given the uid, although IIRC we can check whether the account exists. UX affordances aside, we could accept uid= in the query params and insist that the user login to that particular account. It's not clear how much value that would provide @ncalexan. It also puts us in the same conundrum as #3057, dead-ending users if they get into a bad state. So...I'm not sure whether there's anything actionable coming out of this bug at this time. (It will be relevant when we do more device-handshake stuff, because in that case the browser can give us a usable sessionToken, allowing us to look up the account info given just the uid) |
I agree that we should set this up. However removing the fennec milestone from this and removing assignment for now, until we need this later. |
|
There was good discussion here, thanks for raising it @ncalexan. However it doesn't look like there's anything actionable to do right now, but just something to keep in mind in future, so I'm closing it out. |
In general, we should identify by UID. It's my understanding that not all pages accept uid=UID (like they accept email=EMAIL).
In particular, at
fxa-content-server/app/scripts/models/auth_brokers/fx-desktop.js
Line 78 in 2a78a14
The text was updated successfully, but these errors were encountered: