Closed Sakurann closed 1 year ago
it is true that https://www.rfc-editor.org/rfc/rfc7515#section-2 only defines JWS payload. JWT payload is mainly used as "SD-JWT payload", which I think it fine, but JWT body might be worth revisiting..
FWIW DPoP, which is past last calls and IESG reviews and in the RFC editor queue, uses "JWT payload".
Maybe related to this (or can be a separate issue):
https://www.ietf.org/archive/id/draft-ietf-oauth-selective-disclosure-jwt-05.html#section-7
section 7 is referring to enveloping + using JWT claims. Some JWS signatures don't use JWT claims.
In the text:
appear. Depending on the signature type, payload may or may not contain JWT claims.
Similar with "issuer signed JWT" appears quite frequently in the text, even though some JWS signatures don't use JWT claims or are JSON serialised JWS.
PR merged
feedback received:
The draft uses the terms "JWT body" and "JWT payload" which are not used / not defined in RFC 7519. While it is quite clear from the context what is meant, it could be preferable to use the term (JWT Claims Set) defined in RFC 7519 in order to avoid any misinterpretations.