User Services/Sync/SetupSyncNext: Difference between revisions
< User Services | Sync
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
Please log any bugs: | Please log any bugs: | ||
https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20Services (component Server:Firefox Accounts) | https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20Services (component Server:Firefox Accounts) | ||
== Desktop FxA == | == Desktop FxA == | ||
''' Desktop Firefox Accounts Setup ''' | ''' Desktop Firefox Accounts Setup ''' | ||
* Get nightly desktop | * Get nightly desktop Firefox > 1/16/2014 | ||
** http://nightly.mozilla.org/ | ** http://nightly.mozilla.org/ | ||
* Launch Fx with new profile (run cmd for mac): /Applications/FirefoxNightly.app/Contents/MacOS/firefox -p | * Launch Fx with new profile (run cmd for mac): /Applications/FirefoxNightly.app/Contents/MacOS/firefox -p | ||
| Line 26: | Line 27: | ||
== Mobile Android Firefox Setup == | == Mobile Android Firefox Setup == | ||
''' Android Firefox Accounts Setup ''' | |||
* Get nightly android Firefox > 1/16/2014 | |||
** http://nightly.mozilla.org/ | |||
* Go to Android Settings > Accounts> Add Account and select "Firefox Accout" | |||
** (unfortunately, there's currently no way to customize the server urls) | |||
* Create Account | |||
* Verify account via email | |||
* 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 == | == FxA URLs == | ||
| Line 37: | Line 45: | ||
* Content Server: https://accounts.dev.lcip.org | * Content Server: https://accounts.dev.lcip.org | ||
* Auth Server: https://api-accounts.dev.lcip.org | * Auth Server: https://api-accounts.dev.lcip.org | ||
* | * Token Server: https://token.dev.lcip.org | ||
* Verifier: TBD | * Verifier: TBD | ||
| Line 43: | Line 51: | ||
* identity.fxaccounts.auth.uri=https://api-accounts.dev.lcip.org/v1 | * identity.fxaccounts.auth.uri=https://api-accounts.dev.lcip.org/v1 | ||
* firefox.accounts.remoteUrl=https://accounts.dev.lcip.org/?service=sync | * firefox.accounts.remoteUrl=https://accounts.dev.lcip.org/?service=sync | ||
* services.sync.tokenServerURI = http://token.dev.lcip.org/1.0/sync/1.5 | |||
* services.sync.tokenServerURI = http:// | |||
Stage URLs: | Stage URLs: | ||
* Content server: https://accounts.stage.mozaws.net/ | * Content server: https://accounts.stage.mozaws.net/ | ||
* Auth server: https://api-accounts.stage.mozaws.net/ | * Auth server: https://api-accounts.stage.mozaws.net/ | ||
* Token server: https://tokenserver-stage.stage.mozaws.net | |||
Production URLs: | Production URLs: | ||
* Content server: accounts.firefox.com | * Content server: accounts.firefox.com | ||
* Auth server: api.accounts.firefox.com | * Auth server: api.accounts.firefox.com | ||
* | * Token server: token.services.mozill.com | ||
* Verifier: verifier.accounts.firefox.com (this one may be a little mushy) | * Verifier: verifier.accounts.firefox.com (this one may be a little mushy) | ||
** https://github.com/mozilla/fxa-auth-server/issues/295 | ** https://github.com/mozilla/fxa-auth-server/issues/295 | ||
| Line 59: | Line 67: | ||
Corresponding Production Configs for Firefox: | Corresponding Production Configs for Firefox: | ||
* TBD | * TBD | ||
== Sync debugging - Desktop == | == Sync debugging - Desktop == | ||
Revision as of 02:23, 22 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 FxA
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
- identity.fxaccounts.auth.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
Mobile Android Firefox Setup
Android Firefox Accounts Setup
- Get nightly android Firefox > 1/16/2014
- Go to Android Settings > Accounts> Add Account and select "Firefox Accout"
- (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
FxA URLs
- Recommend using a test profile as this may corrupt your sync data, NOT recoverable.
Servers URLs
Dev URLs:
- Content Server: https://accounts.dev.lcip.org
- Auth Server: https://api-accounts.dev.lcip.org
- Token Server: https://token.dev.lcip.org
- Verifier: TBD
Corresponding Dev Configs for Firefox:
- identity.fxaccounts.auth.uri=https://api-accounts.dev.lcip.org/v1
- firefox.accounts.remoteUrl=https://accounts.dev.lcip.org/?service=sync
- services.sync.tokenServerURI = http://token.dev.lcip.org/1.0/sync/1.5
Stage URLs:
- Content server: https://accounts.stage.mozaws.net/
- Auth server: https://api-accounts.stage.mozaws.net/
- Token server: https://tokenserver-stage.stage.mozaws.net
Production URLs:
- Content server: accounts.firefox.com
- Auth server: api.accounts.firefox.com
- Token server: token.services.mozill.com
- Verifier: verifier.accounts.firefox.com (this one may be a little mushy)
Corresponding Production Configs for Firefox:
- TBD
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