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 1.0.7 to 1.0.8

template/authentication-template.js

2

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

@@ -5,0 +5,0 @@ "main": "manifest.js",

@@ -0,1 +1,3 @@

const odinRequest = require('odin-request-retry');
module.exports = {

@@ -15,2 +17,10 @@ name: 'authentication',

let requestTemplate = require('./template/authentication-template').request('teste', token);
odinRequest.request(requestTemplate, 2).then((response) => {
console.log('response', response);
});
console.log('verificando token' + token);

@@ -21,3 +31,3 @@

} else {
res.status(401).send('Não autorizado.');
return res.status(401).send('Não autorizado.');
}

@@ -24,0 +34,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