You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JTI claim is not required in the Oauth2 spec, nor the MP JWT Auth spec (https://github.com/eclipse/microprofile-jwt-auth/blob/main/spec/src/main/asciidoc/interoperability.asciidoc). The latter states it is "recommended". This is preventing JWT verification with Oauth2 IDPs like Microsoft Entra who does NOT send the JTI claim and instead uses a "nonce" claim. Is the desired behavior to require JTI claim, or is this a bug?
Edit
Sorry, thought GitHub would reference the line of code in question. Adding it here.
shub8968
added
Status: Pending
Waiting on the issue requester to give more details or share a reproducer
and removed
Status: Open
Issue has been triaged by the front-line engineers and is being worked on verification
labels
May 1, 2024
github-actionsbot
added
Status: Abandoned
User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back
and removed
Type: Bug
Label issue as a bug defect
Status: Pending
Waiting on the issue requester to give more details or share a reproducer
labels
May 7, 2024
Greetings,
It's been more than 5 days since we requested more information or an update from you on the details of this issue. Could you provide an update soon, please?
We're afraid that if we do not receive an update, we'll have to close this issue due to inactivity.
payara
locked as resolved and limited conversation to collaborators
May 7, 2024
Since this issue is a duplicate of #5791, which is not a valid bug report for the Payara Platform, we're marking this as closed. @tdevfeeds, please follow the suggestion on #5791 and raise this issue directly with the MicroProfile JWT Working group to get a solution.
Brief Summary
The JTI claim is not required in the Oauth2 spec, nor the MP JWT Auth spec (https://github.com/eclipse/microprofile-jwt-auth/blob/main/spec/src/main/asciidoc/interoperability.asciidoc). The latter states it is "recommended". This is preventing JWT verification with Oauth2 IDPs like Microsoft Entra who does NOT send the JTI claim and instead uses a "nonce" claim. Is the desired behavior to require JTI claim, or is this a bug?
Edit
Sorry, thought GitHub would reference the line of code in question. Adding it here.
Payara/appserver/payara-appserver-modules/microprofile/jwt-auth/src/main/java/fish/payara/microprofile/jwtauth/jwt/JwtTokenParser.java
Line 94 in 7680990
Expected Outcome
Code matches spec.
Current Outcome
JWT fails validation due to missing JTI claim.
Reproducer
Any JWT without JTI claim.
Operating System
NA
JDK Version
NA
Payara Distribution
Payara Micro
The text was updated successfully, but these errors were encountered: