Re: [OAUTH-WG] Issue: Split the authorization endpoint into two endpoints

Evan Gilbert <uidude@google.com> Fri, 16 April 2010 18:57 UTC

Return-Path: <uidude@google.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 8DEE128C150 for <oauth@core3.amsl.com>; Fri, 16 Apr 2010 11:57:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.579
X-Spam-Level:
X-Spam-Status: No, score=-105.579 tagged_above=-999 required=5 tests=[AWL=0.397, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 6H8gGz7MafCs for <oauth@core3.amsl.com>; Fri, 16 Apr 2010 11:57:57 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 0260128C142 for <oauth@ietf.org>; Fri, 16 Apr 2010 11:57:55 -0700 (PDT)
Received: from wpaz21.hot.corp.google.com (wpaz21.hot.corp.google.com [172.24.198.85]) by smtp-out.google.com with ESMTP id o3GIvmLS019825 for <oauth@ietf.org>; Fri, 16 Apr 2010 11:57:48 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1271444268; bh=n/cUZB/pC7UuOHgRECFIknIFxyw=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=V7iCKlG/Atb3ekStZjkF6FCElDDQtQ4Wq/KvKRTZRy+DgEn5bJk3GIVnFHT5ezW3r S8xMcdcmGoJpfpG0gW5mQ==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:x-system-of-record; b=wGIagsNSdgTz5HHpesOwpq6GkDVG+3GJB7X3DRKe3CrQ0dP6dVJkYF5pyO61SYse6 8S7Zupnrk+oOfTbA6CYQQ==
Received: from qyk17 (qyk17.prod.google.com [10.241.83.145]) by wpaz21.hot.corp.google.com with ESMTP id o3GIvkKB004174 for <oauth@ietf.org>; Fri, 16 Apr 2010 11:57:47 -0700
Received: by qyk17 with SMTP id 17so1428487qyk.9 for <oauth@ietf.org>; Fri, 16 Apr 2010 11:57:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.78.131 with HTTP; Fri, 16 Apr 2010 11:57:23 -0700 (PDT)
In-Reply-To: <1271426501.12417.1475.camel@localhost.localdomain>
References: <C7ECABE0.32344%eran@hueniverse.com> <255B9BB34FB7D647A506DC292726F6E11257481003@WSMSG3153V.srv.dir.telstra.com> <1271426501.12417.1475.camel@localhost.localdomain>
From: Evan Gilbert <uidude@google.com>
Date: Fri, 16 Apr 2010 11:57:23 -0700
Received: by 10.229.86.16 with SMTP id q16mr1459862qcl.39.1271444265846; Fri, 16 Apr 2010 11:57:45 -0700 (PDT)
Message-ID: <j2sc8689b661004161157u853130d0oc087593d0a6d1ae3@mail.gmail.com>
To: Justin Richer <jricher@mitre.org>
Content-Type: multipart/alternative; boundary="0016364ee308d147af04845f2fac"
X-System-Of-Record: true
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Issue: Split the authorization endpoint into two endpoints
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: Fri, 16 Apr 2010 18:57:58 -0000

On Fri, Apr 16, 2010 at 7:01 AM, Justin Richer <jricher@mitre.org> wrote:

> I favor this approach as well. It feels cleaner to me to have a
> separation of purposes here. The two endpoints could always be collapsed
> in a particular implementation -- I've seen several OAuth 1.0
> implementations that do just this, using a URL parameter to
> differentiate between the request, access, and authorization endpoints.
>
> Having them available separately makes it easier to have different
> authentication mechanisms to the endpoints themselves, as well. The
> authorization endpoint is (generally) user-credential protected, but the
> token endpoint will be authenticated differently depending on which
> flows are supported.


Any flow where the user interacts on a domain that will have the user
credentials (cookies, etc). This is often a different URL path or even
domain from endpoints where a user credential isn't required.

Think I'd lean towards two URLs - the downside is that it makes discovery /
configuration a little bit harder.


> However, I will say that in most webapp systems,
> you can always have the OAuth endpoint forward internally to another
> endpoint if user authentication is necessary, so this argument may not
> hold up in practical deployment.
>
> Downside is that it does make discovery a little trickier, but discovery
> is admittedly outside the scope of this protocol.
>
>  -- justin
>
> On Thu, 2010-04-15 at 21:22 -0400, Manger, James H wrote:
> > I strongly favour specifying 2 separate endpoints: one for where to
> redirect a user, another for direct client calls.
> >
> > I agree with Marius that these two endpoints are different enough to be
> separate.
> > One is only used by users via browsers. The other is only used by client
> apps. These are different populations, using different authentication
> mechanisms, with different performance requirements, and different
> technologies.
> >
> > The use of a type parameter is a poor tool to distinguishes these cases.
> >
> > I guess 1 URI could default to the other if not defined.
> > 1 URI could be allowed to be relative to the other to save some bytes.
> >
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>