User Services/Sync/SetupSyncNext: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:




== Desktop FxA ==
== Desktop Firefox Accounts==
''' Desktop Firefox Accounts Setup '''
''' Desktop Firefox Accounts Setup '''


Line 27: Line 27:
* See Sync logs or start a new firefox instance with different profile. [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles profile manager]
* See Sync logs or start a new firefox instance with different profile. [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles profile manager]


== Android FxA ==
== Android Firefox Accounts==
''' Android Firefox Accounts Setup '''
''' Android Firefox Accounts Setup '''


Line 38: Line 38:
* See android logs [http://160.twinql.com/how-to-file-a-good-android-sync-bug/] or start a new firefox instance with different profile [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles profile manager] to see the results of the sync
* See android logs [http://160.twinql.com/how-to-file-a-good-android-sync-bug/] or start a new firefox instance with different profile [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles profile manager] to see the results of the sync


== FxA URLs ==
== Firefox Accounts URLs ==
* Recommend using a test profile as this may corrupt your sync data, NOT recoverable.
* Recommend using a test profile as this may corrupt your sync data, NOT recoverable.



Revision as of 18:58, 24 January 2014

Overview

Here's where you find all things on setting up Firefox Accounts and New Sync

Please log any bugs: https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20Services (component Server:Firefox Accounts)


Desktop Firefox Accounts

Desktop Firefox Accounts Setup

  • Get nightly desktop Firefox > 1/16/2014
  • Launch Fx with new profile (run cmd for mac): /Applications/FirefoxNightly.app/Contents/MacOS/firefox -p
  • enable FxA: in about:config context menu click and choose add pref:
    • identity.fxaccounts.enabled (as boolean)
    • set it’s value as true
  • confirm the following Dev/Production configs are defined:
    • firefox.accounts.remoteUrl -> will be soon: identity.fxaccounts.remote.uri
    • identity.fxaccounts.auth.uri
    • identity.fxaccounts.settings.uri
    • services.sync.clusterURL
    • services.sync.tokenServerURI
  • restart Nightly
  • go into file menu Tools > Setup Sync
  • Create Account
  • Verify account via email
  • See Sync logs or start a new firefox instance with different profile. profile manager

Android Firefox Accounts

Android Firefox Accounts Setup

  • Get nightly android Firefox > 1/16/2014
  • Go to Android Settings > Accounts> Add Account and select "Firefox Account"
    • (unfortunately, there's currently no way to customize the server urls)
  • Create Account
  • Verify account via email
  • See android logs [1] or start a new firefox instance with different profile profile manager to see the results of the sync

Firefox Accounts URLs

  • Recommend using a test profile as this may corrupt your sync data, NOT recoverable.

PREFS

  • current src
  • identity.fxaccounts.auth.uri
  • firefox.accounts.remoteUrl

After https://bugzilla.mozilla.org/show_bug.cgi?id=960332 lands

  • identity.fxaccounts.auth.uri
  • identity.fxaccounts.remote.uri
  • identity.fxaccounts.settings

Servers URLs

Dev URLS:

Stage URLs:

Production URLs:

Sync debugging - Desktop

  • goto about:config
  • search by 'sync.log'
  • set services.sync.log.appender.file.level=Trace
  • view logs here: about:sync-log

Useful Firefox Configs:

  • services.sync.log.appender.file.logOnError=Yes
  • services.sync.log.appender.file.logOnSuccess=Yes

Sync Debugging - Android

  • TBD - add information here about using desktop/ADB or using logcat
  • Mobile team will have lots of details

Sync Server Setup

  • edwong's guess*

In about:config set this url:

  • services.sync.jpake.serverURL
  • services.sync.clusterURL
  • services.sync.serverURL
  • services.sync.syncKeyHelpURL