@labshare/services-auth
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -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 @@ |
@@ -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": "./", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25587