Open Bug 1916842 Opened 2 months ago Updated 2 months ago

oauth flows don't seem to always get the plain "login" message

Categories

(Firefox :: Firefox Accounts, defect, P2)

defect

Tracking

()

People

(Reporter: markh, Unassigned)

References

(Blocks 1 open bug)

Details

I'm not 100% sure of why, but I have observed that sometimes when logging in with the oauth flows, the "login" webchannel message does not arrive. It seems possible it doesn't arrive for an already verified account. It does seem to be called when I created an account during the flow.

This means that we haven't setup all of the account state correctly with the end result being that the account is connected but sync is not.

1725485136323   FirefoxAccounts DEBUG   Webchannel is completing the oauth flow
1725485136323   FirefoxAccounts ERROR   Failed to handle FxAccountsWebChannel message: TypeError: null has no properties(resource://gre/modules/FxAccountsWebChannel.sys.mjs:542:40) JS Stack trace: oauthLogin@FxAccountsWebChannel.sys.mjs:542:40
async*_receiveMessage@FxAccountsWebChannel.sys.mjs:247:12
listener@FxAccountsWebChannel.sys.mjs:395:16
deliver@WebChannel.sys.mjs:258:14
tryToDeliver@WebChannel.sys.mjs:67:17
receiveMessage@WebChannelParent.sys.mjs:39:50
You need to log in before you can comment on or make changes to this bug.