Re: [OAUTH-WG] draft-ietf-oauth-assertions-09

John Bradley <> Fri, 11 January 2013 15:55 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 0C3E721F871D for <>; Fri, 11 Jan 2013 07:55:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[AWL=-0.610, BAYES_00=-2.599, MANGLED_EMAIL=2.3, RCVD_IN_DNSWL_LOW=-1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id HO9xaE06kvCg for <>; Fri, 11 Jan 2013 07:55:28 -0800 (PST)
Received: from ( []) by (Postfix) with ESMTP id D650B21F85E0 for <>; Fri, 11 Jan 2013 07:55:27 -0800 (PST)
Received: by with SMTP id fs19so1590905vbb.30 for <>; Fri, 11 Jan 2013 07:55:27 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=UjWtxComJxb6qEd1tFJgDlKrTJg908vUYizE/ZTlZiU=; b=pTcG1uWBzXBZbb+v7u2VsATQF+AYTJesi/osZxPU9K+9u/BcC37eNK+Y5zokCKrcut pPkFaHsh6BvsZODT+GqZVQCDyxrgvijta6BvO62H4C3oZ3J1skML91968D65T3LcDyxy XW3XG+P14yeQT0TmPB1cMLJxSZcnFpcTGAGG6kDUmhn4hQQTwqmNcrI0WBNcs0Y1/0YT ej9ZsRUWyNJRuAtjmXPdvBzRS/tquHJxhrZHNcH5BpN3mlEgzNyE38GBzEEa91/CZdvp lA7wug+s2I+onhQ1BAG6H8k6hIPEKzUrQov3jz6QlueYo5gT4W7IoFcWvbwDChHgemUW fUbw==
X-Received: by with SMTP id c11mr83130308vdf.73.1357919726915; Fri, 11 Jan 2013 07:55:26 -0800 (PST)
Received: from [] ( []) by with ESMTPS id cd19sm2291231vdb.20.2013. (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jan 2013 07:55:25 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: John Bradley <>
In-Reply-To: <B33BFB58CCC8BE4998958016839DE27E0687634C@IMCMBX01.MITRE.ORG>
Date: Fri, 11 Jan 2013 12:55:15 -0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <>
References: <> <> <B33BFB58CCC8BE4998958016839DE27E0687634C@IMCMBX01.MITRE.ORG>
To: "Richer, Justin P." <>
X-Mailer: Apple Mail (2.1499)
X-Gm-Message-State: ALoCoQkGI+rM//ToQOG0q3/z/FOqSyEs9gcJWZmHAj7w0viS76GURS84+AaNo/5jJeB98oNudKi4
Cc: " WG" <>
Subject: Re: [OAUTH-WG] draft-ietf-oauth-assertions-09
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OAUTH WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 11 Jan 2013 15:55:29 -0000

Yes in assertions it needs to be general.  It is the JWT and SAML profiles that need to nail down what the format of the audience is.    They should probably both be the URI of the token endpoint.   In both SAML and JWT there can be multiple audiences for the token.

On 2013-01-11, at 11:37 AM, "Richer, Justin P." <> wrote:

> It's my understanding that the general assertions claim is more of a conceptual mapping than it is a concrete encoding, so anything more specific here would be out of place. I would like the authors to either confirm or correct my assumptions, though.
> -- Justin
> On Jan 11, 2013, at 6:30 AM, Stephen Farrell <>
> wrote:
>> Hi,
>> Since we thought we were done with it, I put this document
>> on the IESG telechat agenda for Jan 24. Hannes' question
>> however looks like its a real one that needs an answer.
>> I'd appreciate it if the WG could figure out if there's any
>> change needed and either make that change in the next week,
>> or else tell me to take the draft off the telechat agenda
>> for now.
>> If discussion doesn't happen, or happens but doesn't reach
>> a conclusion, then I'll take the draft off the agenda in a
>> week's time and we can sort out if any changes are needed
>> later.
>> The reason why now+1-week matters, is that that's when
>> IESG members tend to do their reviews and having 'em all
>> review a moving target isn't a good plan.
>> Thanks,
>> S.
>> On 01/11/2013 08:18 AM, Hannes Tschofenig wrote:
>>> Hi guys, 
>>> Thanks for updating the assertion document and for incorporating the comments received on the mailing list. 
>>> There is only one issue that caught my attention. You changed the description of the audience element to the following text (in version -09 of
>>> "
>>>  Audience  A value that identifies the parties intended to process the
>>>     assertion.  An audience value MAY be the URL of the Token Endpoint
>>>     as defined in Section 3.2 of OAuth 2.0 [RFC6749].
>>> "
>>> Since the value in the audience field is used to by the authorization server in a comparison operation (see Section 5.2) I believe the current text will lead to interoperability problems. Not only is the comparision operation unspecified but even the value that is contained in the field is left open. The RFC 2119 MAY does not really give a lot of hints of what should be put in there. 
>>> Without having a clear description of what identifier is contained in this field and how the comparison works it is either possible that a legitimate client is rejected by the authorization server (which is annoying) or an assertion with an incorrect assertion is accepted (which is a security problem). 
>>> Btw, the same issue can also be seen in, and in a more generic form also in the JWT (Section 4.1.3 of; "aud" claim). From the description in the JWT document I was not quite sure whether the ability to carry an array of case sensitive strings for that field is also allowed in any of the assertion documents. 
>>> Note that there are two documents that provide input to this problem space, namely:
>>> So, I would suggest to decide what type of identifier goes into this field and then to point to a document that illustrates how the comparison operation would look like. Possible identifiers are domain names, IP addresses, URIs, etc. Just as an example from RFC 6125 would you allow a wildcard match (like "*") or only an equality match? Would "" be the same as "" if they resolve to the same IP address(es)?
>>> Ciao
>>> Hannes
>>> _______________________________________________
>>> OAuth mailing list
>> _______________________________________________
>> OAuth mailing list
> _______________________________________________
> OAuth mailing list