   facebookCallbackPath: '/users/auth/facebook/callback'
   twitterLastStepPath: '/users/auth/twitter/email'
   logoutPath: '/users/sign_out'
+  signupRedirect: '/'
   userKeys: ['id', 'type', 'name', 'email', 'phone', 'lab_features',
              'default_profile_id', 'has_partner_access', 'collector_level']
   twitterSignupTempEmail: (token) -> "#{hash(token).substr 0, 12}@artsy.tmp"

#
# Passport callbacks
#
artsyCallback = (username, password, done) ->
  request.get("#{opts.SECURE_ARTSY_URL}/oauth2/access_token").query(
    client_id: opts.ARTSY_ID
    client_secret: opts.ARTSY_SECRET
    grant_type: 'credentials'
    email: username
    password: password
  ).end accessTokenCallback(done)

facebookCallback = (req, token, refreshToken, profile, done) ->
  if req.user

      grant_type: 'oauth_token'
      oauth_token: token
      oauth_provider: 'facebook'
    ).end accessTokenCallback(req, done,
      oauth_token: token
      provider: 'facebook'
      name: profile?.displayName
