Re: [OAUTH-WG] SAML 2.0 Bearer Assertion Profile for OAuth 2.0 draft

Paul Madsen <paul.madsen@gmail.com> Wed, 04 August 2010 15:13 UTC

Return-Path: <paul.madsen@gmail.com>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D4A3A3A6BD7 for <oauth@core3.amsl.com>; Wed, 4 Aug 2010 08:13:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ImwFh15lYK1Y for <oauth@core3.amsl.com>; Wed, 4 Aug 2010 08:13:44 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 55D983A6B61 for <oauth@ietf.org>; Wed, 4 Aug 2010 08:13:44 -0700 (PDT)
Received: by qwe5 with SMTP id 5so3398022qwe.31 for <oauth@ietf.org>; Wed, 04 Aug 2010 08:14:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VXA6oXp0U+eOdm1Z2zdKcxwcZOkPNV4PFYosTZco6kg=; b=OgDFWPZsDQCjuGHox1HTmz2+paw1jP4sfZ+5+0UYtihvZJpmyA43LUKQ5fWka13yDR JQEimRorJ4qci29LXjJIUkMCZnPW6DElWkHWfzARdmJWhslAnBbzzc7iuBT1yv1rXvdg FH9ADJlhU3LnNc1ZStSIi00XxUuoX8zO+El00=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=un3jVBlXaMAugtaJ8O+769sIwbasuOuApGvtPm/ahl+Z5sJSxfaYckcOI5nLT+wDWw d97bQIuh1Ev+t4GntzQs73MYFW/qVoaR/dbqJY2l4bZ2hbczuOInFc6qzVSGyJUXO56U kk+aUXCct7RjvI43lUF/u1tUjCOppNXJo+A64=
Received: by 10.224.28.203 with SMTP id n11mr3921374qac.71.1280934853593; Wed, 04 Aug 2010 08:14:13 -0700 (PDT)
Received: from [192.168.0.168] (CPE0022b0cb82b4-CM0012256eb4b4.cpe.net.cable.rogers.com [99.224.152.177]) by mx.google.com with ESMTPS id r29sm3036478qcs.37.2010.08.04.08.14.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Aug 2010 08:14:12 -0700 (PDT)
Message-ID: <4C5983C7.6070006@gmail.com>
Date: Wed, 04 Aug 2010 11:14:15 -0400
From: Paul Madsen <paul.madsen@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1
MIME-Version: 1.0
To: oauth@ietf.org
References: <AANLkTinSrPUEauUsSWjVHN0KZu9LxHVaWRpanGAE3ZEC@mail.gmail.com> <A08279DC79B11C48AD587060CD939771312A6892@TK5EX14MBXC103.redmond.corp.microsoft.com> <AANLkTi=L0eOMhFZNpNjEX3aGmVvmQ-nf+tUmzjM=JUeo@mail.gmail.com> <A08279DC79B11C48AD587060CD939771312A6998@TK5EX14MBXC103.redmond.corp.microsoft.com> <AANLkTinXRpMuL4Hcf-mPAZNKND16CF3KPWLrntMG8uho@mail.gmail.com> <4C598270.1050304@oracle.com>
In-Reply-To: <4C598270.1050304@oracle.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [OAUTH-WG] SAML 2.0 Bearer Assertion Profile for OAuth 2.0 draft
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Aug 2010 15:13:47 -0000

  Prateek, I believe that here it is the SAML IdP that acts as OAuth 
Client, not SAML SP - the point of the flow is to get the Assertion 
(that the IDP would normally send through the browser) over to the SP 
through an OAuth request/response exchange (in order to get an OAuth token)

paul

On 04/08/2010 11:08 AM, Prateek Mishra wrote:
> Brian,
>
> it would probably help to clarify that you are proposing this as a 
> additional or follow-on step to SSO implemented via the SAML web 
> browser profiles (right?).
>
> Maybe some text could be added to the draft to make that explicit. 
> This is in contrast to more general token exchange scenarios - here
> are bunch of SAML /XYZ tokens, now give me an OAuth token for for a 
> certain purpose. I agree with you that the latter would require quite 
> a bit of additional work.
>
> Here is my understanding of the current use-case -
>
> The user delivers a SAML bearer token (issued at an IdP) via a browser 
> profile to an SP. The SP, performs some business service for the user 
> and at some point
> requires access to user resources at the IdP or at some third-party 
> site. Switching to OAuth terminology, the Client (SP) exchanges the 
> said SAML bearer token to the Authorization server (could be at the 
> IdP - this would be a common case I think) for an OAuth token. This is 
> the exchange you are describing in your draft.
>
> Once the client obtains the OAuth token, it can bind it to a request 
> for the user resource.
>
> I have some mild SAMology concerns about this - historically the SAML 
> bearer token has been constrained to have a short life-time and the 
> general advice is not to forward it beyond the SP. I am aware that in 
> practice this isnt the case - often the token is bound to some 
> subsequent flows - somewhat along the lines you are proposing. I will 
> follow up with these concerns on the SAML list.
>
> - prateek
>> Seems like a much more complicated scenario.  Allowing more than one
>> assertion, off the top of my head, would necessitate some major
>> changes to this profile:
>>
>> * Define how multiple assertions are encoded into the single
>> "assertion" form control (samlp:Response, concatenated, something
>> else?)
>> * Deal with subject equality across the assertions
>> * Define the processing rules for multiple assertion (from different
>> issuers) and the expected behavior when some but not all are valid.
>>
>> That seems like it would add significant complexity to the existing
>> draft (that I'm trying to keep simple) for a particular scenario that
>> I'm not sure is very common.  But maybe I'm wrong.  Is this something
>> that others anticipate needing?   If so, does it belong here?
>>
>>
>> On Mon, Aug 2, 2010 at 4:26 PM, Anthony Nadalin 
>> <tonynad@microsoft.com> wrote:
>>> So the scenario we have is where there are multiple tokens from 
>>> attribute and identity providers need to be delivered to an OAuth 
>>> authorization server to satisfy the resource owner's policy of 
>>> required claims. So this is a case where a single SAML 
>>> token/assertion is not enough to satisfy the claim, we still expect 
>>> that the signature verification is out of scope.
>>>
>>> -----Original Message-----
>>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On 
>>> Behalf Of Brian Campbell
>>> Sent: Monday, August 02, 2010 2:53 PM
>>> To: oauth
>>> Subject: Re: [OAUTH-WG] SAML 2.0 Bearer Assertion Profile for OAuth 
>>> 2.0 draft
>>>
>>> I guess I'd need to understand the scenario better before I'd have an
>>> opinion one way or the other.   However, I will say that In this
>>> profile I was specifically looking to avoid the complexity that 
>>> exists in SAML Web SSO by allowing for multiple assertions and 
>>> multiple subject confirmations.
>>>
>>> On Mon, Aug 2, 2010 at 3:20 PM, Anthony Nadalin 
>>> <tonynad@microsoft.com> wrote:
>>>> There are many cases where we need to have more than 1 SAML 
>>>> assertion be used to represent the authorization token, so would 
>>>> want a provision for multiple SAML tokens and not sure it makes 
>>>> sense to have a separate profile for that or add it as an option here.
>>>>
>>>> -----Original Message-----
>>>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>>>> Of Brian Campbell
>>>> Sent: Thursday, July 15, 2010 1:50 PM
>>>> To: oauth
>>>> Subject: [OAUTH-WG] SAML 2.0 Bearer Assertion Profile for OAuth 2.0
>>>> draft
>>>>
>>>> I'm gong to join the growing list of people attaching a potential I-D
>>>> to an email due to he cut off time for the I-D submissions.  Attached
>>>> is a draft that aims to tightly define the particular format of a SAML
>>>> 2.0 bearer assertion in requesting an access token using the assertion
>>>> grant_type.   I've been working with Chuck at Salesforce.com on this
>>>> and the primary goal is to have some documentation or specification
>>>> that is sufficient to facilitate interoperability between
>>>> independently developed implementations or products.    This, of 
>>>> course, wouldn't preclude using SAML in other ways - it would only 
>>>> provide one concrete definition to implement against.
>>>>
>>>> I intend to submit this as an I-D when the submission process reopens.
>>>>  Any feedback from this group would be appreciated as well as 
>>>> thoughts about this eventually becoming a working group draft.
>>>>
>>>> Thanks,
>>>> Brian Campbell
>>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>>
>>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>