Re: [OAUTH-WG] native app support (was: Next draft)
Marius Scurtescu <mscurtescu@google.com> Wed, 23 June 2010 00:02 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 5E9EF3A68B5 for <oauth@core3.amsl.com>; Tue, 22 Jun 2010 17:02:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.507
X-Spam-Level:
X-Spam-Status: No, score=-101.507 tagged_above=-999 required=5 tests=[AWL=0.470, 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 fxnvO4tkPgdo for <oauth@core3.amsl.com>; Tue, 22 Jun 2010 17:02:47 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 1F9833A68A3 for <oauth@ietf.org>; Tue, 22 Jun 2010 17:02:46 -0700 (PDT)
Received: from kpbe11.cbf.corp.google.com (kpbe11.cbf.corp.google.com [172.25.105.75]) by smtp-out.google.com with ESMTP id o5MNVDs2004661 for <oauth@ietf.org>; Tue, 22 Jun 2010 16:31:14 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1277249474; bh=ctZ5VgCUUVFKljbBTMOdwW65/M4=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=N7imeEF6YEByoNvewmx0CkUsQ5s0GE0KeD1pAboUZrWwKuwUCsrj8X1v/9OPMHZVD s+JcOs8G0eFuXs/GziA2g==
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=Tbw1C13vdW+8PHHOi1LJ3ZX60tIwhyk6fKJjy02mvUhQOrd9R+MMBZGS31qJl/fIA PtSwTNHYPrL1moafYgylQ==
Received: from gyh4 (gyh4.prod.google.com [10.243.50.196]) by kpbe11.cbf.corp.google.com with ESMTP id o5MNVCxK031137 for <oauth@ietf.org>; Tue, 22 Jun 2010 16:31:12 -0700
Received: by gyh4 with SMTP id 4so3424286gyh.3 for <oauth@ietf.org>; Tue, 22 Jun 2010 16:31:12 -0700 (PDT)
Received: by 10.100.16.4 with SMTP id 4mr5820664anp.2.1277249472196; Tue, 22 Jun 2010 16:31:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.132.22 with HTTP; Tue, 22 Jun 2010 16:30:52 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E72343B3EC841C8@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <AANLkTikkG3T_DYKhjMbyYayi7SzZel3RJXFSguxq7SSZ@mail.gmail.com> <AANLkTilycD2urJZqbP8HaRcqUQ6bM30WAzy4c4VOmLql@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343B3EC8419E@P3PW5EX1MB01.EX1.SECURESERVER.NET> <AANLkTinj6wsniocBB45Ul0P5WNsAjktz-p0antXpkyUX@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343B3EC841C2@P3PW5EX1MB01.EX1.SECURESERVER.NET> <AANLkTilM3NSD0BLQk5rz5UWxsudTHSBmMbDcwmcztcVb@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343B3EC841C8@P3PW5EX1MB01.EX1.SECURESERVER.NET>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Tue, 22 Jun 2010 16:30:52 -0700
Message-ID: <AANLkTimykXBFhoAW4A3CY_GEc-v3I21SvKGKP08MjsX3@mail.gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: text/plain; charset="ISO-8859-1"
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: Wed, 23 Jun 2010 00:02:48 -0000
On Tue, Jun 22, 2010 at 4:26 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote: > In that case, I suggest an extension. But I just don't think this needs it. Why involve the server at all in this? The client should just host a web page somewhere with the format it wants or the language for the user. > > With $10 hosting, every client can host a web page somewhere. Hard to tell, you could be right. Keep in mind that this page has to be reliable and secure, $10 will probably not give you that. An authz server can easily provide all this at almost no cost. Marius > > EHL > >> -----Original Message----- >> From: Marius Scurtescu [mailto:mscurtescu@google.com] >> Sent: Tuesday, June 22, 2010 4:17 PM >> To: Eran Hammer-Lahav >> Cc: OAuth WG (oauth@ietf.org) >> Subject: Re: native app support (was: Next draft) >> >> On Tue, Jun 22, 2010 at 4:07 PM, Eran Hammer-Lahav >> <eran@hueniverse.com> wrote: >> > >> >> -----Original Message----- >> >> From: Marius Scurtescu [mailto:mscurtescu@google.com] >> >> Sent: Tuesday, June 22, 2010 3:35 PM >> >> To: Eran Hammer-Lahav >> >> Cc: OAuth WG (oauth@ietf.org) >> >> Subject: Re: native app support (was: Next draft) >> >> >> >> 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? >> > >> > I don't think this needs a spec. Just something provided by the server. Does >> the client need any special handling? It can always just use a static web page >> to do this, no? >> >> A spec would help so all servers provide code and state in a consistent >> format. Client libraries can then provide methods to parse this. Also, client >> apps connecting to multiple servers can expect some consistency. >> >> Marius >> >> > >> > EHL >> > >> >> >> >> 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 >> >> > >> > >
- Re: [OAUTH-WG] native app support (was: Next draf… Marius Scurtescu
- [OAUTH-WG] native app support (was: Next draft) Marius Scurtescu
- Re: [OAUTH-WG] native app support (was: Next draf… David Recordon
- Re: [OAUTH-WG] native app support (was: Next draf… Torsten Lodderstedt
- Re: [OAUTH-WG] native app support (was: Next draf… Marius Scurtescu
- Re: [OAUTH-WG] native app support (was: Next draf… Torsten Lodderstedt
- Re: [OAUTH-WG] native app support (was: Next draf… Marius Scurtescu
- Re: [OAUTH-WG] native app support (was: Next draf… Eran Hammer-Lahav
- Re: [OAUTH-WG] native app support (was: Next draf… Marius Scurtescu
- Re: [OAUTH-WG] native app support (was: Next draf… Eran Hammer-Lahav
- Re: [OAUTH-WG] native app support (was: Next draf… Marius Scurtescu
- Re: [OAUTH-WG] native app support (was: Next draf… Eran Hammer-Lahav
- Re: [OAUTH-WG] native app support (was: Next draf… Eran Hammer-Lahav
- Re: [OAUTH-WG] native app support (was: Next draf… Marius Scurtescu
- Re: [OAUTH-WG] native app support (was: Next draf… Luke Shepard
- Re: [OAUTH-WG] native app support (was: Next draf… Luke Shepard
- Re: [OAUTH-WG] native app support (was: Next draf… Marius Scurtescu
- Re: [OAUTH-WG] native app support (was: Next draf… Brian Eaton
- Re: [OAUTH-WG] native app support (was: Next draf… Luke Shepard