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

express-gateway-plugin-oauth

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-gateway-plugin-oauth - npm Package Compare versions

Comparing version 3.2.9 to 3.2.10

3

package.json
{
"name": "express-gateway-plugin-oauth",
"version": "3.2.9",
"version": "3.2.10",
"description": "Plugin para solicitar autorização do serviço de autenticação remoto.",

@@ -19,3 +19,2 @@ "main": "manifest.js",

"dotenv": "6.0.0",
"form-urlencoded": "^3.0.0",
"odin-request-retry": "1.0.3",

@@ -22,0 +21,0 @@ "request": "2.87.0",

@@ -34,5 +34,10 @@ require('dotenv');

if (data && data.idCliente) {
req.headers.idcliente = data.idCliente;
req.headers.idusuario = data.username;
if (data) {
if (data.idCliente) {
req.headers.idcliente = data.idCliente;
}
if (data.username) {
req.headers.idusuario = data.username;
}
}

@@ -39,0 +44,0 @@

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