Re: [OAUTH-WG] assertion profile changes

Eran Hammer-Lahav <eran@hueniverse.com> Thu, 08 July 2010 01:56 UTC

Return-Path: <eran@hueniverse.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 22C463A6827 for <oauth@core3.amsl.com>; Wed, 7 Jul 2010 18:56:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.181
X-Spam-Level:
X-Spam-Status: No, score=-2.181 tagged_above=-999 required=5 tests=[AWL=0.417, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 iKiMzUoCOazf for <oauth@core3.amsl.com>; Wed, 7 Jul 2010 18:56:44 -0700 (PDT)
Received: from p3plex1out01.prod.phx3.secureserver.net (p3plex1out01.prod.phx3.secureserver.net [72.167.180.17]) by core3.amsl.com (Postfix) with SMTP id 3EA5E3A69F3 for <oauth@ietf.org>; Wed, 7 Jul 2010 18:56:44 -0700 (PDT)
Received: (qmail 30726 invoked from network); 8 Jul 2010 01:56:47 -0000
Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.19) by p3plex1out01.prod.phx3.secureserver.net with SMTP; 8 Jul 2010 01:56:47 -0000
Received: from P3PW5EX1MB01.EX1.SECURESERVER.NET ([10.6.135.20]) by P3PW5EX1HT001.EX1.SECURESERVER.NET ([72.167.180.19]) with mapi; Wed, 7 Jul 2010 18:56:47 -0700
From: Eran Hammer-Lahav <eran@hueniverse.com>
To: Brian Eaton <beaton@google.com>
Date: Wed, 07 Jul 2010 18:56:45 -0700
Thread-Topic: assertion profile changes
Thread-Index: AcseH/MyK3HVzncdQBS791HHO2R7fAAIN4ye
Message-ID: <C85A7E6D.36D91%eran@hueniverse.com>
In-Reply-To: <AANLkTikRxlaRVCdLXBmz5VHwIN5izPZu5mKWymIgfK94@mail.gmail.com>
Accept-Language: en-US
Content-Language: en
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_C85A7E6D36D91eranhueniversecom_"
MIME-Version: 1.0
Cc: Hannes Tschofenig <hannes.tschofenig@nsn.com>, OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] assertion profile changes
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: Thu, 08 Jul 2010 01:56:50 -0000

BTW, I'm not opposed to writing more detailed profiles based on the generic framework provided by the two endpoints defined and theyr many optional components. I think the new format helps clarify the overall architecture and easier to implement a generic client for (given that all the parameters for each endpoint are listed in a single place).

If people think this can be useful, I'm happy to give it a try once -10 is out and declared stable.

EHL


On 7/7/10 3:01 PM, "Brian Eaton" <beaton@google.com> wrote:

On Wed, Jul 7, 2010 at 2:52 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:
> I disagree with this approach. There are plenty of optional parameters in
> the spec.

Yes.  I think most of them are a bad idea.

> The assertion access grant requires further profiling to be useful. This
> doesn't mean it needs another spec, but that when you use it, you need to
> document clearly what is expected. When you do that, spell out what you
> support and what not.

It doesn't, actually.  Lots of people have existing SAML assertion
formats that they support, and they are going to use the SAML to
access token swap without any further spec writing.

> It is not clear what about allowing client authentication or refresh token
> breaks security. This is purely a deployment decision for each provider.

Please see this thread:
http://www.ietf.org/mail-archive/web/oauth/current/msg02218.html.

Note multiple voices of approval for dropping the refresh token.

Note that people who want the refresh token have *completely different
use cases*.

Steering multiple use cases into the same profile is how we made OAuth
1.0 complex, slow, and insecure.  Let's not make the same mistake with
OAuth 2.

> If you would like to request specific changes to draft -09, please list them
> and explain why you are requesting them.

I'd like to see the following changes:

1) Separate profiles for separate use cases.
   The spec started off this way, and recent drafts have made it
progressively more compressed.  Shorter is not a win.

2) Drop refresh token, client id, and client secret from the SAML flow.
    If someone needs them, that's OK, but put it in different profile
for a different use case.

Cheers,
Brian