Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cgignite/ignite-auth

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cgignite/ignite-auth - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

lib/jwt.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc