Socket
Socket
Sign inDemoInstall

@sap/xssec

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap/xssec - npm Package Compare versions

Comparing version 4.0.3 to 4.0.4

src/error/validation/MissingJwtError.js

3

CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
## 4.0.4 - 2024-06-12
- MissingJwtError now inherits from ValidationError instead of ConfigurationError which implicitly changes its recommended statusCode from 500 to 401. Consumers are not expected to validate outside the lib whether requests contain a JWT before passing the request to the lib for validation. Encountering a MissingJwtError is therefore no longer classified as a misconfiguration of the library but as an expected error that may occur during validation.
## 4.0.3 - 2024-06-06

@@ -5,0 +8,0 @@ - export Token class and its subclasses

2

package.json
{
"name": "@sap/xssec",
"version": "4.0.3",
"version": "4.0.4",
"description": "XS Advanced Container Security API for node.js",

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

@@ -208,3 +208,3 @@ @sap/xssec: SAP BTP Security Services Node.js Integration Library

### Migration from XSUAA
Older applications should consider migrating to *SAP Cloud Identity Services* as soon as possible. The migration process from XSUAA for existing applications is currently in the pilot phase with first stakeholders. There will be guides for different migration stages available soon.
Migration for older applications from XSUAA to *SAP Cloud Identity Services* with *Authorization Policies* is currently in the pilot phase. There will be guides for different migration stages available soon.

@@ -211,0 +211,0 @@

const Token = require('../token/Token');
const MissingJwtError = require("../error/configuration/MissingJwtError");
const MissingJwtError = require("../error/validation/MissingJwtError");
const SecurityContext = require('./SecurityContext');

@@ -4,0 +4,0 @@ const Service = require('../service/Service');

@@ -11,3 +11,3 @@ module.exports = {

MissingIssuerError: require('./validation/MissingIssuerError'),
MissingJwtError: require('./configuration/MissingJwtError'),
MissingJwtError: require('./validation/MissingJwtError'),
MissingKidError: require('./validation/MissingKidError'),

@@ -14,0 +14,0 @@ MissingVerificationKeyError: require('./validation/MissingVerificationKeyError'),

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