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
{{ message }}
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
> 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)
I am seeing this error: