Clarify Request URI response can be unsigned for prefixes requiring unsigned requests - #788
Conversation
…nsigned requests The Request URI Response section said the body must be a signed request object, which conflicts with the redirect_uri Client Identifier Prefix rule that requests cannot be signed. Clarify that the request object is signed unless the Client Identifier Prefix in use requires an unsigned request, in which case the JWT uses alg none. Fixes #756 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
paulbastian
left a comment
There was a problem hiding this comment.
I'm not sure RFC9101 allows that. There is text saying It MUST also reject the request if the Request Object uses an "alg" value of "none".
|
But the next paragraph says: The text isn't a 100% clear if that sentence is conditional to the first sentence. |
|
RFC 9101 also says (in section 10.1, which is Security Considerations):
|
|
This is where we would all like if it RFCs had a nicer errata process :-)
My reading is: require_signed_request_object: true => reject alg none If we instead assume alg: none is disallowed in both cases, what would the meanings of require_signed_request_object true/false be? |
That is my interpretation as well and if I recall correctly that is also what we ended up with initially when discussing this? |
|
require_signed_request_object means whether it is required to send authorization request as RFC9101 or whether RFC6749 style is still allowed. |
paulbastian
left a comment
There was a problem hiding this comment.
After re-reading I'm fine

The Request URI Response section said the body must be a signed request object, which conflicts with the redirect_uri Client Identifier Prefix rule that requests cannot be signed. Clarify that the request object is signed unless the Client Identifier Prefix in use requires an unsigned request, in which case the JWT uses alg none.
Fixes #756