Re: [OAUTH-WG] User-Agent flow and refresh tokens
Torsten Lodderstedt <torsten@lodderstedt.net> Sun, 19 September 2010 14:28 UTC
Return-Path: <torsten@lodderstedt.net>
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 9FFDD3A69A4 for <oauth@core3.amsl.com>; Sun, 19 Sep 2010 07:28:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.085
X-Spam-Level:
X-Spam-Status: No, score=-2.085 tagged_above=-999 required=5 tests=[AWL=0.164, BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 Kw678Ew5I9rd for <oauth@core3.amsl.com>; Sun, 19 Sep 2010 07:28:50 -0700 (PDT)
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.25]) by core3.amsl.com (Postfix) with ESMTP id 520C83A692F for <oauth@ietf.org>; Sun, 19 Sep 2010 07:28:50 -0700 (PDT)
Received: from p4ffd357e.dip.t-dialin.net ([79.253.53.126] helo=[127.0.0.1]) by smtprelay02.ispgateway.de with esmtpa (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1OxKtF-0002CS-2b; Sun, 19 Sep 2010 16:29:13 +0200
Message-ID: <4C961E36.1090506@lodderstedt.net>
Date: Sun, 19 Sep 2010 16:29:10 +0200
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Marius Scurtescu <mscurtescu@google.com>
References: <4C913EE3.90704@lodderstedt.net> <AANLkTikJGDUKCfiPiN_rAVXmbPF0SBN_sKNQFHw6-oqj@mail.gmail.com> <AANLkTime0dayBq1k+ee7xNp3pkBE2-Ltn-i=LNh0-XvB@mail.gmail.com> <0B18D334-441B-48C0-8836-8F285404B53F@lodderstedt.net> <AANLkTimL1TL57iJ5MOJTcEmog5e-9vjZNCOAyKLS4Dt1@mail.gmail.com> <6A068F15-5B15-444E-AAC3-354EFB866A4A@lodderstedt.net> <AANLkTi=KpHx0+k+Lu=0ykDVYUpvd2cWmbBFMeRMwp2uj@mail.gmail.com>
In-Reply-To: <AANLkTi=KpHx0+k+Lu=0ykDVYUpvd2cWmbBFMeRMwp2uj@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Df-Sender: 141509
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] User-Agent flow and refresh tokens
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: Sun, 19 Sep 2010 14:28:51 -0000
Am 16.09.2010 21:35, schrieb Marius Scurtescu: > On Thu, Sep 16, 2010 at 12:00 PM, Torsten Lodderstedt > <torsten@lodderstedt.net> wrote: >> I don't know whether I understand you correctly. Are you saying that refresh tokens only make sense in Web servers? > I was referring to the "web server" flow/profile. Not web servers in general. > > Why would a native app use the user-agent flow (response_type=token) > over the web server flow (response_type=code)? The draft mentions both options (http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-1.4.3) and also states: "Embedded user-agents often offer a better end-user flow, as they remove the need to switch context and open new windows." Luke Shepard also indicated in his posting http://www.ietf.org/mail-archive/web/oauth/current/msg03509.html that facebook supports the user agent flow for desktop applications. Facebook's iOS SDK seems to use the same technique for mobile apps. regards, Torsten. > Marius > >> regards, >> Torsten. >> >> >> >> Am 16.09.2010 um 18:04 schrieb Marius Scurtescu<mscurtescu@google.com>: >> >>> On Wed, Sep 15, 2010 at 10:39 PM, Torsten Lodderstedt >>> <torsten@lodderstedt.net> wrote: >>>> Am 16.09.2010 um 05:53 schrieb Andrew Arnott<andrewarnott@gmail.com>: >>>> >>>> The user agent flow works for native apps that can host a web browser. It >>>> works pretty well in my experience. >>>> >>>> Would like to see support for refresh tokens in this flow? >>> Sure, User-Agent works for native apps, but why would you use this >>> flow over web server? >>> >>> In other words, why add refresh tokens to user-agent when you can use >>> web server? >>> >>> Thanks, >>> Marius
- [OAUTH-WG] User-Agent flow and refresh tokens Torsten Lodderstedt
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Marius Scurtescu
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Andrew Arnott
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Torsten Lodderstedt
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Marius Scurtescu
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Torsten Lodderstedt
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Marius Scurtescu
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Kris Selden
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Torsten Lodderstedt
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Torsten Lodderstedt
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Marius Scurtescu
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Luke Shepard
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Kris Selden
- Re: [OAUTH-WG] User-Agent flow and refresh tokens Torsten Lodderstedt