@cgignite/ignite-auth
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -12,3 +12,3 @@ const { GenerateToken, VerifyToken } = require('../auth/functions'); | ||
this.on('input', function (msg) { | ||
if (node.generatejwt === true) { | ||
if (node.generatejwt === true || node.generatejwt === 'true') { | ||
GenerateToken(msg.payload, node.jwtconfig.credentials.tokensecret, parseInt(node.jwtconfig.expiresin),node.jwtconfig.algorithm) | ||
@@ -15,0 +15,0 @@ .then(response => { |
@@ -5,3 +5,3 @@ { | ||
"nodes": { | ||
"decode":"lib/decode.js", | ||
"decode": "lib/decode.js", | ||
"jwt": "lib/jwt.js", | ||
@@ -15,3 +15,3 @@ "jwt-config": "lib/jwt-config.js", | ||
}, | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Auth node allows you to integrate security withing your Ignite APIs and apps", | ||
@@ -18,0 +18,0 @@ "scripts": {}, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24566