mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.23k stars 2.94k forks source link

Implement similar flow for can_link_account web channel message as Android #21723

Open jonalmeida opened 2 months ago

jonalmeida commented 2 months ago

It seems like we have never supported the can_link_account message from inception.

Today, if this message is sent from FxA it will lead the sign-in flow to halt. The right fix is to implement the full feature-set for account merging that desktop has, but that seems less likely to happen until we shift priorities.

Until then, I propose we implement the same flow as Android by responding to the message without any user interaction which performs an account merge (as it would today) but without blocking the sign-in flow from FxA waiting for a response from the browser.

┆Issue is synchronized with this Jira Task

jonalmeida commented 2 months ago

Can someone please assign this to me. Thanks. 🙂