You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included oauth-encryption in a custom smart package to encrypt passwords, but when I add oauthSecretKey to Accounts.config({}) my server crashes with the following error:
W20140520-14:26:29.066(-4)? (STDERR)
W20140520-14:26:29.067(-4)? (STDERR) /Users/tbjers/.meteor/tools/6f23056589/lib/node_modules/fibers/future.js:173
W20140520-14:26:29.067(-4)? (STDERR) throw(ex);
W20140520-14:26:29.067(-4)? (STDERR) ^
W20140520-14:26:29.077(-4)? (STDERR) ReferenceError: _ is not defined
W20140520-14:26:29.078(-4)? (STDERR) at Object.OAuthEncryption._isBase64 (packages/oauth-encryption/encrypt.js:20)
W20140520-14:26:29.078(-4)? (STDERR) at Object.OAuthEncryption.loadKey (packages/oauth-encryption/encrypt.js:36)
W20140520-14:26:29.078(-4)? (STDERR) at Object.Accounts.config (packages/accounts-base/accounts_common.js:64)
W20140520-14:26:29.078(-4)? (STDERR) at packages/myproject/lib/accounts.js:1
W20140520-14:26:29.078(-4)? (STDERR) at packages/myproject.js:35:4
W20140520-14:26:29.078(-4)? (STDERR) at packages/myproject.js:228:3
W20140520-14:26:29.079(-4)? (STDERR) at /Users/tbjers/git/Projects/myproject-meteor/.meteor/local/build/programs/server/boot.js:155:10
W20140520-14:26:29.079(-4)? (STDERR) at Array.forEach (native)
W20140520-14:26:29.079(-4)? (STDERR) at Function._.each._.forEach (/Users/tbjers/.meteor/tools/6f23056589/lib/node_modules/underscore/underscore.js:79:11)
W20140520-14:26:29.079(-4)? (STDERR) at /Users/tbjers/git/Projects/myproject-meteor/.meteor/local/build/programs/server/boot.js:82:5
=> Exited with code: 8
The only thing I can think of here is that there's no use statement for underscore in the oauth-encryption package file, but maybe this is something else.
I've asked on the mailing list as well as the #meteor channel without any luck.
Please advise.
The text was updated successfully, but these errors were encountered:
I have included
oauth-encryption
in a custom smart package to encrypt passwords, but when I addoauthSecretKey
toAccounts.config({})
my server crashes with the following error:My
package.js
file:My
lib/accounts.js
file:The only thing I can think of here is that there's no
use
statement forunderscore
in theoauth-encryption
package file, but maybe this is something else.I've asked on the mailing list as well as the #meteor channel without any luck.
Please advise.
The text was updated successfully, but these errors were encountered: