Open Bug 1380696 Opened 7 years ago Updated 2 years ago

Use returned conflicting device ID to resolve conflict during FxA registration

Categories

(Firefox :: Sync, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: eoger, Unassigned)

References

Details

During the FxA device registration process, if the server returns a device session conflict error, we have to make a 2nd request to FxA's /account/devices to identify the conflicting device. [0]

Soon, they will include in the 1st request error response the conflicting device ID, which would allow us to save a round trip to the server. [1]
We should update our code to use that new returned field.

[0] http://searchfox.org/mozilla-central/source/services/fxaccounts/FxAccounts.jsm#1725

[1] https://github.com/mozilla/fxa-auth-server/pull/1990
See Also: → 1380700
See Also: → 1380699
Fwiw, this change will be in FxA train 92.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.