Skip to content

Instantly share code, notes, and snippets.

@dannycoates
Created January 16, 2014 01:15
Show Gist options
  • Select an option

  • Save dannycoates/8448052 to your computer and use it in GitHub Desktop.

Select an option

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

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