Skip to content

Extensibility tests: Algorithm and Signature - JWT, SAML and SAML2#3034

Merged
brentschmaltz merged 10 commits into
devfrom
iinglese/extensibility-tests-signature-algorithm-jwt-saml
Nov 25, 2024
Merged

Extensibility tests: Algorithm and Signature - JWT, SAML and SAML2#3034
brentschmaltz merged 10 commits into
devfrom
iinglese/extensibility-tests-signature-algorithm-jwt-saml

Conversation

@iNinja
Copy link
Copy Markdown
Contributor

@iNinja iNinja commented Nov 25, 2024

Extensibility tests: Algorithm and Signature - JWT, SAML and SAML2

  • Added SecurityTokenInvalidOperationException to replace InvalidOperationException when used with ValidationError subclasses
  • Added SignatureValidationError to handle exceptions generated during
  • Removed XmlValidationError. Updated XML signature validation to use SignatureValidationError instead
  • Removed nullability from signature validation delegate's CallContext
  • Added log messages and validation failure types for the exception throwing
  • Handle potential exceptions thrown during signature validation (both signature and algorithm)
  • Updated validation errors
  • Added custom validation errors and delegates for algorithm and signature validation
  • Added algorithm extensibility tests for JWT, SAML, and SAML2
  • Added signature extensibility tests for JWT, SAML, and SAML2

Part of #2711

@iNinja iNinja requested a review from a team as a code owner November 25, 2024 16:41
@brentschmaltz brentschmaltz merged commit f8b5bb6 into dev Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants