jakartaee / jakartaee/jsonp-api

JWT Support

Open
#388 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.