Re: [OAUTH-WG] native app support (was: Next draft)

Marius Scurtescu <mscurtescu@google.com> Tue, 22 June 2010 22:35 UTC

Return-Path: <mscurtescu@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 857493A6A07 for <oauth@core3.amsl.com>; Tue, 22 Jun 2010 15:35:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.463
X-Spam-Level:
X-Spam-Status: No, score=-101.463 tagged_above=-999 required=5 tests=[AWL=0.514, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 7eAKsHNQyoOZ for <oauth@core3.amsl.com>; Tue, 22 Jun 2010 15:35:17 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id E370D3A68A0 for <oauth@ietf.org>; Tue, 22 Jun 2010 15:35:14 -0700 (PDT)
Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id o5MMZKqG005635 for <oauth@ietf.org>; Tue, 22 Jun 2010 15:35:21 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1277246121; bh=SQYKYW79L2v9ZGOhQw8JJOTqllw=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding; b=MRMijJFethiIglzb8ap4XV5RqdIryejmeoZZilwbxyC6J7McTri//G8jTxFeMCFOC 3TD8fq9owQO+syUkUkkyw==
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:content-transfer-encoding:x-system-of-record; b=ERuoM+HRO8ms/AW0BtcyvwEqCmwZ4IIyf99iuHgvb/A0N0QQ1SC9FDMpbTvsXP/7W JE6dGIcWK5/6mZzs5pAjg==
Received: from ywh16 (ywh16.prod.google.com [10.192.8.16]) by wpaz29.hot.corp.google.com with ESMTP id o5MMZJCn018087 for <oauth@ietf.org>; Tue, 22 Jun 2010 15:35:19 -0700
Received: by ywh16 with SMTP id 16so4020667ywh.21 for <oauth@ietf.org>; Tue, 22 Jun 2010 15:35:19 -0700 (PDT)
Received: by 10.101.134.6 with SMTP id l6mr5783386ann.50.1277246119239; Tue, 22 Jun 2010 15:35:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.132.22 with HTTP; Tue, 22 Jun 2010 15:34:59 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E72343B3EC8419E@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <AANLkTikkG3T_DYKhjMbyYayi7SzZel3RJXFSguxq7SSZ@mail.gmail.com> <AANLkTilycD2urJZqbP8HaRcqUQ6bM30WAzy4c4VOmLql@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343B3EC8419E@P3PW5EX1MB01.EX1.SECURESERVER.NET>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Tue, 22 Jun 2010 15:34:59 -0700
Message-ID: <AANLkTinj6wsniocBB45Ul0P5WNsAjktz-p0antXpkyUX@mail.gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] native app support (was: Next 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: Tue, 22 Jun 2010 22:35:19 -0000

On Tue, Jun 22, 2010 at 3:14 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:
> In OAuth 1.0a, we needed it for the patch. I don't think this needs to be in the spec because it doesn't help interop. If the server supports such a scheme, it should document it. It also falls under "previously established redirection URI" which happens to point at the server.

OK, that makes sense.

What about:
> Also, this page should put the verification code and the
> client state (code and state) in the page title in a standard way such
> that the native app can extract them from the window title. WRAP
> defined how the title should be formed.

Extension?


Marius

>
> EHL
>
>> -----Original Message-----
>> From: Marius Scurtescu [mailto:mscurtescu@google.com]
>> Sent: Tuesday, June 22, 2010 1:02 PM
>> To: Eran Hammer-Lahav
>> Cc: OAuth WG (oauth@ietf.org)
>> Subject: Re: native app support (was: Next draft)
>>
>> On Tue, Jun 8, 2010 at 10:46 AM, Marius Scurtescu
>> <mscurtescu@google.com> wrote:
>> > In order to properly support native applications I suggest the
>> > following changes:
>> > [...]
>> > 2. optional redirect_uri (default result page)
>> >
>> > Some native apps do not have a redirect_uri, as a result two things are
>> needed:
>> >
>> > 2.1 Either make redirect_uri optional or define a standard value that
>> > signals that the client does not have such a page.
>> >
>> > 2.2 The authz server must supply a default result page, if there is no
>> > redirect_uri. Also, this page should put the verification code and the
>> > client state (code and state) in the page title in a standard way such
>> > that the native app can extract them from the window title. WRAP
>> > defined how the title should be formed.
>>
>> Should this also go to an extension? It is not introducing any new parameters,
>> not sure if it belongs there. OAuth 1 at least defined the "oob" special value.
>>
>> Marius
>