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

@labshare/services-auth

Package Overview
Dependencies
Maintainers
17
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.2.4 to 2.2.5

7

CHANGELOG.md

@@ -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 @@

2

lib/index.js

@@ -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": "./",

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