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

Marius Scurtescu <mscurtescu@google.com> Tue, 08 June 2010 20:29 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 181223A6817 for <oauth@core3.amsl.com>; Tue, 8 Jun 2010 13:29:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.825
X-Spam-Level:
X-Spam-Status: No, score=-100.825 tagged_above=-999 required=5 tests=[AWL=1.152, 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 CpV5SbbSWF22 for <oauth@core3.amsl.com>; Tue, 8 Jun 2010 13:29:09 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id E77923A6836 for <oauth@ietf.org>; Tue, 8 Jun 2010 13:29:08 -0700 (PDT)
Received: from kpbe14.cbf.corp.google.com (kpbe14.cbf.corp.google.com [172.25.105.78]) by smtp-out.google.com with ESMTP id o58KT895001378 for <oauth@ietf.org>; Tue, 8 Jun 2010 13:29:08 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1276028949; bh=FtgM7Pa+ULFuujJQBWlpSPkxMhs=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Dv1b0Oskt72DdpNxTLppmdFGD5nVYMFkB2BTkECfZ4EbpYKJY7R0vUePf1DtkhjDH CUk4njTGGAenGyr96yr0A==
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; b=NTHtTOW5I+tYTa1VQw/JXR7auR7sF4thHk/oqEwO1olXF5Ye7Tm76G//pB3C9s/2Q gStbkh+u6ItaAFKuKMmfw==
Received: from pwj7 (pwj7.prod.google.com [10.241.219.71]) by kpbe14.cbf.corp.google.com with ESMTP id o58KSwIl009510 for <oauth@ietf.org>; Tue, 8 Jun 2010 13:29:04 -0700
Received: by pwj7 with SMTP id 7so285558pwj.35 for <oauth@ietf.org>; Tue, 08 Jun 2010 13:28:58 -0700 (PDT)
Received: by 10.141.187.12 with SMTP id o12mr2189501rvp.43.1276028938497; Tue, 08 Jun 2010 13:28:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.141.124.13 with HTTP; Tue, 8 Jun 2010 13:28:38 -0700 (PDT)
In-Reply-To: <AANLkTimKWnuYd1j6b-sH_Ctt0ZYK67jj0ga64lrcv_Tt@mail.gmail.com>
References: <AANLkTikkG3T_DYKhjMbyYayi7SzZel3RJXFSguxq7SSZ@mail.gmail.com> <AANLkTimKWnuYd1j6b-sH_Ctt0ZYK67jj0ga64lrcv_Tt@mail.gmail.com>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Tue, 08 Jun 2010 13:28:38 -0700
Message-ID: <AANLkTilTlyqGDNPb5nxfeWI-vCmGvM7ZsCK72ekoAcrj@mail.gmail.com>
To: David Recordon <recordond@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
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, 08 Jun 2010 20:29:10 -0000

On Tue, Jun 8, 2010 at 11:45 AM, David Recordon <recordond@gmail.com> wrote:
> Hey Marius,
>
> 1) Feels like this should be in an unregistered client spec.

Not sure. Does the core spec always assume registered?


> 3) Why would a device which intends to open a web browser use the
> device flow to start? Wouldn't it just use the user agent flow?

Two reasons:
- User-Agent flow probably does not return a refresh token
- much harder to capture the response from User-Agent or Web Server
(embed browser, watch title, ...), with device flow all this goes away


> 4) Yes, but should be a separate document.

Maybe. Native apps are a main use case, more important than devices
IMO. Why keep devices in core and move out native apps?


Marius