I have a node.js application that authenticate users and generates token. My question is:
1) Using JSON Web Token (JWT)
2) Environment variables that the composer rest server runs in a multi-user mode, and allows authentication based on passport-jwt
COMPOSER_PROVIDERS='{
"jwt": {
"provider": "jwt",
"module": "/home/composer/node_modules/custom-jwt.js",
"secretOrKey": "gSi4WmttWuvy2ewoTGooigPwSDoxwZOy",
"authScheme": "saml",
"successRedirect": "/",
"failureRedirect":"/"
}
}