@labshare/services-auth
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -0,1 +1,8 @@ | ||
## [2.2.5](https://github.com/LabShare/services-auth/compare/v2.2.4...v2.2.5) (2020-06-08) | ||
### Bug Fixes | ||
* **authz:** add error message to legacy audience check ([7a1b850](https://github.com/LabShare/services-auth/commit/7a1b850106905fae6395cee49887920c66f45e31)) | ||
## [2.2.4](https://github.com/LabShare/services-auth/compare/v2.2.3...v2.2.4) (2020-06-08) | ||
@@ -2,0 +9,0 @@ |
@@ -66,3 +66,3 @@ 'use strict'; | ||
res.sendStatus(401); | ||
res.status(401).json({error: `jwt audience invalid. expected: ${audience}`}); | ||
} | ||
@@ -69,0 +69,0 @@ } |
@@ -35,3 +35,3 @@ /** | ||
res.sendStatus(401, `Failed to get user info: "${error.message}"`); | ||
res.status(401).json({error: `Failed to get user info: "${error.message}"`}); | ||
return; | ||
@@ -38,0 +38,0 @@ } |
{ | ||
"name": "@labshare/services-auth", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"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
26411