jakartaee / jakartaee/jsonp-api
JWT Support
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 160
- Forks
- 64
- Avg merge
- 4d 5h
- Merged PRs (30d)
- 4
Description
There are feature requests in Jakarta Security around [JWT](https://github.com/jakartaee/security/issues/255), but as mentioned, the Jakarta-consuming [Microprofile JWT RBAC](https://github.com/eclipse/microprofile-jwt-auth) is not consumable by Jakarta Security or other specs at least on the API/Spec level.
Also while providing CDI wiring, MP JWT does not standardize decoding or encoding JWT similar to e.g. [Spring Security Oauth2 JWT](https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/oauth2/jwt/package-summary.html) or
[JJWT](https://javadoc.io/doc/io.jsonwebtoken/jjwt-api/latest/index.html).
Beside that unlike Spring and others MP JWT also does not cover the [JOSE Header](https://www.rfc-editor.org/rfc/rfc7519#section-5) as of now.
Could:
- JsonWebToken (or Jwt)
- JwtDecoder (or JwtParser)
- JwtEncoder (or JwtGenerator/Builder)
- Claims
- Headers
be standardized here under a "jwt" package or module?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Jakarta Security and MicroProfile JWT issues linked in the description, then compare the cited Spring Security OAuth2 JWT and JJWT APIs. The work is complete when the scope and standardized JWT, decoder, encoder, claims, and header APIs are defined under the proposed Jakarta Security package or module.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, authentication, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100