@sap/xssec
Advanced tools
Comparing version 4.0.3 to 4.0.4
# 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 |
{ | ||
"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'), |
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
168988