JS library for verifying JWTs signed by Amazon Cognito, and any OIDC-compatible IDP that signs JWTs with RS256, RS384, and RS512
Full Changelog: https://github.com/awslabs/aws-jwt-verify/compare/v2.0.0...v2.1.0
These changes are BREAKING changes for some usage patterns, therefore this release increments the major version number to 2.0.0:
AssertionError
more specific errors are now thrown (e.g. JwtInvalidScopeError
). If you weren't explicitly testing for error type (e.g. doing err instance of AssertionError
) this change isn't breaking for you.Full Changelog: https://github.com/awslabs/aws-jwt-verify/compare/v1.0.3...v2.0.0
Full Changelog: https://github.com/awslabs/aws-jwt-verify/compare/v1.0.2...v1.0.3
Functional changes (all non-breaking):
Allow "aud" claim to be an array of strings (#14) This makes the library compatible with JWTs from Auth0
Expose error module so it may be imported (#12)
If you want to catch this library's exceptions, you may want to import them (and use instanceof
), this is now possible.
First public release 🎉