Skip to content

Instantly share code, notes, and snippets.

@jpetto
Last active September 15, 2015 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpetto/f46f1850737b7a838cad to your computer and use it in GitHub Desktop.
Save jpetto/f46f1850737b7a838cad to your computer and use it in GitHub Desktop.
FxA testing - profile config for FxA staging server (accounts.stage.mozaws.net)
  1. Quit Firefox.
  2. Create a new profile for testing. A good name for the profile would be "FxA-Testing-Stage".
  3. Place the user.js file below into the new profile folder created in step 1. Note - the file name must be user.js.
  4. Start Firefox using the newly created profile.
  5. Verify the settings by navigating to about:config and filtering by identity.fxaccounts. You should see the values specified in user.js listed.
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
user_pref("services.sync.log.appender.file.logOnSuccess", true);
user_pref("identity.fxaccounts.auth.uri", "https://accounts.stage.mozaws.net/auth/v1");
user_pref("identity.fxaccounts.remote.force_auth.uri", "https://accounts.stage.mozaws.net/force_auth?service=sync&context=fx_desktop_v1");
user_pref("identity.fxaccounts.remote.signin.uri", "https://accounts.stage.mozaws.net/signin?service=sync&context=fx_desktop_v1");
user_pref("identity.fxaccounts.remote.signup.uri", "https://accounts.stage.mozaws.net/signup?service=sync&context=fx_desktop_v1");
user_pref("identity.fxaccounts.settings.uri", "https://accounts.stage.mozaws.net/settings");
user_pref("identity.fxaccounts.remote.webchannel.uri", "https://accounts.stage.mozaws.net/");
user_pref("services.sync.tokenServerURI", "https://accounts.stage.mozaws.net/syncserver/token/1.0/sync/1.5");
user_pref("general.warnOnAboutConfig", false);
user_pref("devtools.chrome.enabled", true);
user_pref("devtools.debugger.remote-enabled", true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment