Comments (1)
@RongjunZhou, thanks for the analysis, but like I said in the Quarkus issue, you can link to the relevant pieces of code instead of copying the whole blocks, please do it next time.
There is a bug here; the value algHeader obtained from the header has not been initialized. So who will initialize it? Nobody.
But did you know you can set it via the .jws()
transition after completing setting up the claims ?
I don't know why we need to get the signature algorithm at the same time as I get the key.
Because it can help to decide how to convert the key into an an actual key representation
from smallrye-jwt.
Related Issues (20)
- Add `scope` method to JWT Build API
- Enhance JWT Build API to allow setting a certificate chain
- Add KeyEncryptionAlgorithm "dir" enum value HOT 1
- Typos in two of KeyEncryptionAlgorithm `ECDH-ES+*` enums HOT 1
- How to avoid unexpired JWT replay attack ? HOT 3
- Error while using `smalrye.jwt.sign.key.location` properties with file: scheme HOT 8
- allow multiple signature algorithms
- Allow encryption with explicitly requested algorithm HOT 1
- add an extension point to customize evaluation time used in DefaultJWTTokenParser HOT 8
- JWTCallerPrincipalFactory is instantiated each time if not explicitly set HOT 11
- Respect `smallrye.jwt.path.groups` even if the `groups` claim is present in the token HOT 2
- Support JWS `jwk` header in JWT Build API
- Sonar plugin issue HOT 5
- request: smallrye-jwt retries fetching keys if initial request fails HOT 2
- Support EdDSA in KeyUtils.keyFactoryAlgorithm()
- io.smallrye.jwt.build.JwtSignatureException: SRJWT05000: Unsupported signature algorithm: EdDSA
- smallrye.jwt.time-to-live=-1 not disabling iat-check HOT 1
- Support flattened JWS signature
- KeyLocationResolver does not honor algorithm in JWT header
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smallrye-jwt.