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.3 to 1.0.4

4

auth/functions.js

@@ -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": {},

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