[Openid-specs-ab] client_id vs aud claim (Re: Review of OpenID Provider Commands (draft 00))
Joseph Heenan
joseph at authlete.com
Fri Mar 14 00:51:35 UTC 2025
Hi Dick,
> On 14 Mar 2025, at 01:01, Dick Hardt via Openid-specs-ab <openid-specs-ab at lists.openid.net> wrote:
>
>
> Building on Joseph's response:
> > The confusion attack only really applies where you have a ‘sub’ value that can contain a client id or a user identifier. That isn’t the case here.
>
> An objective is to have a Command Token that is used in the `activate` and `maintain` commands to be able to be verified and processed similar to an id_token allowing code reuse.
>
> the id_token specifies that the client_id is the `aud` claim, so following that same semantic keeps things simple for the RP
>
> We do want to provide mechanisms that make it easy for an RP to not confuse id_tokens and command tokens -- We can add that the command claim MUST NOT be in an id_token, and per the other thread, we could require OPs that support OP Commands to require a nonce in the id_token.
Unfortunately I think it’s not just the RP that we need to worry about - whilst doing so is contentious, there are various patterns of third parties accepting id tokens, and we should at least be aware of the implications if one of those third parties would accept a command token in place of an id_token.
Joseph
More information about the Openid-specs-ab
mailing list