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

@labshare/services-auth

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@labshare/services-auth - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [2.1.4](https://github.com/LabShare/services-auth/compare/v2.1.3...v2.1.4) (2019-01-30)
### Bug Fixes
* parseBearerToken module issue ([7f9800b](https://github.com/LabShare/services-auth/commit/7f9800b))
## [2.1.3](https://github.com/LabShare/services-auth/compare/v2.1.2...v2.1.3) (2018-11-02)

@@ -2,0 +9,0 @@

4

lib/index.js

@@ -13,3 +13,3 @@ 'use strict';

const jwksClient = require('jwks-rsa');
const parseToken = require('parse-bearer-token');
const parseToken = require('parse-bearer-token').default;
const jwtAuthzSocket = require('./jwt-authz-socket');

@@ -173,3 +173,3 @@

each(services, routes => {
routes.forEach(route => {
routes.forEach((route) => {
// Validate JWT using RS256 and check Resource Scopes

@@ -176,0 +176,0 @@ if (route.scope) {

@@ -8,3 +8,3 @@ /**

const assert = require('assert'),
parseToken = require('parse-bearer-token'),
parseToken = require('parse-bearer-token').default,
{isObject} = require('lodash');

@@ -11,0 +11,0 @@

{
"name": "@labshare/services-auth",
"version": "2.1.3",
"version": "2.1.4",
"description": "LabShare Services plugin for resource scope-based HTTP route and socket authorization",

@@ -5,0 +5,0 @@ "main": "./",

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