jack-auth-stormpath-passport
v1.0.1
Published
Olympus Plugin for Stormpath Authentication via Passport
Downloads
4
Maintainers
Readme
jack-auth-stormpath-passport
This Jack-Stack Plugin sets up stormpath-passport for user management
Configuration
For anything to work, you'll need to set your stormpath credentials either directly:
jack.use(require('jack-auth-stormpath-passport').configure({
apiKeyId: 'something',
apiKeySecret: 'something',
appHref: 'something',
}));
or through node-config
:
{
stormpath: {
apiKeyId: 'something',
apiKeySecret: 'something',
appHref: 'something',
}
}
There are some additional optional parameters you may use:
restful
- Causes the login/logout responses to send HTTP Status Codes, instead of HTMLcallNext
- Prevents the login/logout responses from responding. Instead each calls expressnext
passport
- Any additional configuration you want to pass intopassport.authenticate