Skip to content

Instantly share code, notes, and snippets.

@dannycoates
Created January 16, 2014 01:15
Show Gist options
  • Save dannycoates/8448052 to your computer and use it in GitHub Desktop.
Save dannycoates/8448052 to your computer and use it in GitHub Desktop.

Auth Server config changes

additions

{
  "smtp": {
    "passwordResetUrl": "https://api-accounts.firefox.com/v1/complete_reset_password",
    "redirectDomain": "firefox.com"
  },
  "tokenLifetimes": {
    "accountResetToken": 900000,
    "passwordForgotToken": 900000,
    "passwordChangeToken": 900000
  }
}
  • passwordResetUrl defaults to publicUrl + '/v1/complete_reset_password' which is the url sent in the password reset email.
  • redirectDomain is used as validation against any submitted redirectTo parameters.
  • tokenLifetimes is the TTL for tokens in milliseconds (15min default)

deletions

{
  "scryptHelper": undefined
}

scryptHelper is no longer used

@gene1wood
Copy link

@dannycoates when you know what I should use for redirectDomain in staging (accounts.stage.mozaws.net) let me know. You'd mentioned a patch might be required. If so, can you point me to the commit or the issue tracking it?

@gene1wood
Copy link

Also, correct me if I'm wrong but I think I can leave out tokenLifetimes and passwordResetUrl since the defaults look correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment