@cgignite/ignite-auth
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -47,5 +47,7 @@ const jwt = require("jsonwebtoken"); | ||
await jwt.verify(token, tokenSecret) | ||
var decoded = await jwt.decode(token); | ||
return result = { | ||
Status: "OK", | ||
StatusCode: 200 | ||
StatusCode: 200, | ||
payload : decoded | ||
} | ||
@@ -52,0 +54,0 @@ } catch (err) { |
@@ -41,2 +41,3 @@ const { BasicAuth, GenerateToken, VerifyToken } = require('../auth/functions'); | ||
{ | ||
msg["tokenvalue"] = response.payload; | ||
node.send([msg, null]); | ||
@@ -43,0 +44,0 @@ } |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Auth node allows you to integrate security withing your Ignite APIs and apps", | ||
@@ -12,0 +12,0 @@ "scripts": {}, |
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
10191
122