Current as of
December 2nd, 2019
Communication with OAuth WebChannels
OAuth WebChannels is an extension of the FxA WebChannel Desktop Flow. It consists of similar messages as the Desktop Sync flow, however is more generic because of the use of OAuth in the background. Some behaviours in the OAuth flow are different.
This flow currently supports the following messages:
fxaccounts:fxa_status message in the OAuth flow supports specifying a custom list of Sync engines that the app supports.
See FxA WebChannel Desktop Flow for details of engine capabilities.
Communication with GeckoView applications
To enable this feature in applications with GeckoView we ship a WebExtension as part of the firefox-accounts Android component.
Communication channel is established from web content to this class via webextension, as follows:
See the fxaccounts:fxa_status section of the WebChannel Protocol document.
Unlike the Desktop WebChannel integration, the OAuth WebChannel integration expects all supported
engines to be enumerated within the
engines capability. Possible values are:
Sent when a user successfully authenticates via a WebChannel OAuth flow.