This repository was archived by the owner on Dec 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
throw new Error('apiKey.id is required.'); #18
Copy link
Copy link
Open
Labels
Description
I am seeing this error:
> git clone git@github.com:stormpath/stormpath-passport-express-sample.git nodejs-stormpath-passport-express-sample
> cd nodejs-stormpath-passport-express-sample
> npm install
> export STORMPATH_CLIENT_APIKEY_ID=my key here
> export STORMPATH_CLIENT_APIKEY_SECRET=my secret key here
> export STORMPATH_APPLICATION_HREF=my http here
> # (i also have .env file with same vars)
> node app.js
/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/stormpath/lib/authc/RequestAuthenticator.js:8
throw new Error('apiKey.id is required.');
^
Error: apiKey.id is required.
at BasicRequestAuthenticator.RequestAuthenticator (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/stormpath/lib/authc/RequestAuthenticator.js:8:11)
at new BasicRequestAuthenticator (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/stormpath/lib/authc/BasicRequestAuthenticator.js:7:36)
at Object.getAuthenticator (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/stormpath/lib/authc/index.js:27:15)
at new RequestExecutor (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/stormpath/lib/ds/RequestExecutor.js:37:37)
at new DataStore (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/stormpath/lib/ds/DataStore.js:46:52)
at new Client (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/stormpath/lib/Client.js:8:21)
at new Strategy (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/node_modules/passport-stormpath/lib/strategy.js:36:25)
at Object.<anonymous> (/Users/happyuser/src/TechStack-Research/nodejs-stormpath-passport-express-sample/app.js:14:16)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
Reactions are currently unavailable