openid / federation

4 stars 3 forks source link

Unclear language around automatic registration with PAR #52

Open SECtim opened 2 weeks ago

SECtim commented 2 weeks ago

In Section 12.1.1.2., the specification describes automatic RP registration using Pushed Authorization Requests.

The first sentence reads "... interoperable way to push a Request Object directly to the AS ...", and Section 12.1.1.2.1. on processing such a request states:

The requirements specified in Section 12.1.1.1.2 also apply to Pushed Authorization Requests [RFC9126].

Said Section 12.1.1.1.2 in turn says

Once the OP has the RP's metadata, it MUST verify [...] the signature of the Request Object ...

So far, this sounds like automatic registration with PAR requires the use of a Request Object.

However, the example request in Figure 47 uses "plain" PAR parameters. Furthermore, Section 12.1.1.2.1. on processing PAR requests lists some client authentication methods and states that OP must use the keys published by RP for the openid_relying_party Entity Type. Such client authentication seems to only make sense when NOT using a (signed) Request Object. I.e., it sounds like with PAR, using a Request Object is optional (which is also signaled through the headings of the respective sections: "Using a Request Object" and "Using Pushed Authorization").

My best guess is that with PAR, using a Request Object is indeed optional, but as explained above, this remains somewhat unclear to me.

selfissued commented 2 weeks ago

Federation uses the signed request to do proof of possession of the RP keys. I'll look at the actual wording you're referencing.