gnodet opened a new pull request, #2948: URL: https://github.com/apache/cxf/pull/2948
## Summary Per [RFC 9068 Section 2.1](https://datatracker.ietf.org/doc/html/rfc9068#section-2.1), JWT access tokens MUST include a `typ` header parameter set to `at+jwt`. This is a proper implementation of the feature requested in #990, incorporating @reta's review feedback: - **`JoseConstants`**: Added `TYPE_AT_JWT = "at+jwt"` constant - **`JoseType`**: Added `AT_JWT` enum member with proper `getType()` lookup (since `at+jwt` can't be a Java identifier, it needs explicit handling like `JOSE_JSON`) - **`AbstractOAuthDataProvider.processJwtAccessToken()`**: Sets the `at+jwt` type on **both** JWS and JWE headers, handling both the sign-only and sign+encrypt cases Unlike #990 which only set the type via raw string on JWS headers, this uses the type system properly (`JoseType.AT_JWT` + `setType()`) and covers the JWE case as well. Closes #990 ## Test plan - [x] `JwsCompactReaderWriterTest` — passes - [x] `OAuth2JwtFiltersTest` — 5 tests pass - [x] `JAXRSOAuth2TlsTest` — 5 tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
