Closed Bug 2079834 Opened 6 days ago Closed 1 day ago

Drop scopes in oauth url when sync decoupling is enabled

Categories

(Firefox for Android :: Accounts and Sync, task)

All
Android
task
Points:
1

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: segun, Assigned: segun)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [android-activation-trust])

Attachments

(1 file)

As part of bug 2066516 , in order to support authentication in a decoupled state, we need to drop scopes parameter when sync decoupling is enabled.

Bug 2074136 will ensure that the authentication URL is built correctly when we send an empty list of scopes.

Implementation ideas:

In FxaAccountManager.beginAuthentication, we could inject the logic that checks if SyncConfig.syncDecouplingEnabled is true, and then ensures that an empty list of scopes is passed to the BeginAuthFlow & BeginPairingFlow

Assignee: nobody → sfamisa
Status: NEW → ASSIGNED
Pushed by sfamisa@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ff16f9139b1f https://hg.mozilla.org/integration/autoland/rev/b6f22ac8997d Don't send scopes to fxa-client when sync decoupling is enabled r=titouan,twhite
Status: ASSIGNED → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: