Closed
Bug 1100232
Opened 10 years ago
Closed 10 years ago
startOver() should not delete FxA credentials
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
People
(Reporter: markh, Assigned: markh)
References
Details
Attachments
(1 file)
|
5.01 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
As part of Service.startOver(), we call identity.deleteSyncCredentials() - this deletes both the legacy and FxA credentials from the login manager.
This is a problem for sync migration as we log the user into FxA *before* we call .startOver() - this means the credentials we just saved to the login manager are removed and the user will need to re-authenticate next start.
The fix will be to have a different deleteSyncCredentials() for each of the 2 identity implementations and have each one delete only its credentials.
| Assignee | ||
Comment 1•10 years ago
|
||
This creates 2 new functions, getSyncCredentialsHostsLegacy and getSyncCredentialsHostsFxA. getSyncCredentialsHosts() returns the combined value of these 2 functions, however, the identity function deleteSyncCredentials() now only deletes the credentials related to that specific identity. This means that on a .startOver() the FxA credentials remain in the login manager.
Attachment #8526557 -
Flags: review?(rnewman)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mhammond
Status: NEW → ASSIGNED
Points: --- → 3
Flags: qe-verify-
Flags: firefox-backlog+
Updated•10 years ago
|
Iteration: --- → 36.3
Updated•10 years ago
|
Iteration: 36.3 → 37.1
Comment 2•10 years ago
|
||
Comment on attachment 8526557 [details] [diff] [review]
0010-Bug-1100232-startOver-should-not-delete-FxA-credenti.patch
Review of attachment 8526557 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry for the delayed review!
Attachment #8526557 -
Flags: review?(rnewman) → review+
Updated•10 years ago
|
Iteration: 37.1 → 37.2
| Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Updated•7 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•