Re: [OAUTH-WG] Quick survey: fragment vs. query
Naitik Shah <naitik@facebook.com> Mon, 09 August 2010 20:01 UTC
Return-Path: <naitik@facebook.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 7C70F3A69B8 for <oauth@core3.amsl.com>; Mon, 9 Aug 2010 13:01:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.401
X-Spam-Level:
X-Spam-Status: No, score=-102.401 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, HOST_MISMATCH_NET=0.311, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-1, 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 WolWQvwD-Vz0 for <oauth@core3.amsl.com>; Mon, 9 Aug 2010 13:01:01 -0700 (PDT)
Received: from mx-out.facebook.com (outmail004.snc1.tfbnw.net [69.63.178.163]) by core3.amsl.com (Postfix) with ESMTP id 5DD953A6982 for <oauth@ietf.org>; Mon, 9 Aug 2010 13:01:01 -0700 (PDT)
Received: from [10.18.255.134] ([10.18.255.134:22431] helo=mail.thefacebook.com) by mta003.snc1.facebook.com (envelope-from <naitik@facebook.com>) (ecelerity 2.2.2.45 r(34067)) with ESMTP id BE/C8-19885-F9E506C4; Mon, 09 Aug 2010 13:01:35 -0700
Received: from SC-MBX05.TheFacebook.com ([169.254.4.91]) by sc-hub03.TheFacebook.com ([fe80::1cfe:1f6b:8b35:cf7f%11]) with mapi; Mon, 9 Aug 2010 13:00:22 -0700
From: Naitik Shah <naitik@facebook.com>
To: Luke Shepard <lshepard@facebook.com>
Thread-Topic: [OAUTH-WG] Quick survey: fragment vs. query
Thread-Index: AQHLN/FIrhpmvVB2L0uRkfTCOLcEl5LaAFeAgAAAHgA=
Date: Mon, 09 Aug 2010 20:00:22 +0000
Message-ID: <6EE5F91A-42A0-41F1-B40D-313370C1807E@facebook.com>
References: <C862F736.37253%eran@hueniverse.com> <AANLkTil_MQ1-JxNC-5S3bLDo6-WhG0GMBHVXQvvN-jdv@mail.gmail.com> <AANLkTi=A+ztAH8vbR-O8vYUxiE2cGjn-KHCpM05NE3fL@mail.gmail.com> <A285138C-3747-4701-9BC3-F4986E1A99BC@facebook.com>
In-Reply-To: <A285138C-3747-4701-9BC3-F4986E1A99BC@facebook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-ID: <350b7de2-f44e-4046-9eee-6f802fa6d9c7>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Mon, 09 Aug 2010 15:12:15 -0700
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Quick survey: fragment vs. query
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: Mon, 09 Aug 2010 20:01:02 -0000
me too On Aug 9, 2010, at 12:59 PM, Luke Shepard wrote: > I like Brian's solution. > > On Aug 9, 2010, at 11:32 AM, David Recordon wrote: > >> The thread wondered a bit but Brian's summary here seems to be what most people were advocating for. Is there enough consensus to have Draft 11 reflect it? >> >> Thanks, >> --David >> >> >> On Wed, Jul 14, 2010 at 10:04 AM, Brian Eaton <beaton@google.com> wrote: >> I can't parse this diagam, but here's my take: >> >> - web server flow should always return just a code. >> parameter always goes in the query string >> it would be sort of reasonable to have the code exchange return >> just an access token, instead of a refresh token and an access token. >> Or a refresh token with a shorter lifetime than indefinite. >> >> - user-agent flow can reasonably return either just a token, or a >> token and a code >> both parameters always go in the fragment, to avoid busting the browser cache >> same comments about lifetime of refresh tokens... >> >> Cheers, >> Brian >> >> On Wed, Jul 14, 2010 at 5:10 AM, Eran Hammer-Lahav <eran@hueniverse.com> wrote: >> > Please answer this based on actual use cases. When returning parameters >> > using the redirection URI call, which of these combinations make sense? >> > >> > | Code | Token | Code & Token >> > ---------+------+-------+-------------- >> > Fragment | a | 1 | 3 >> > Query | 2 | b | c >> > Split* | n/a | n/a | d >> > >> > * token in fragment, code in query >> > >> > Known use cases: >> > >> > 1 - current user-agent flow >> > 2 - current web-server flow >> > 3 - as described by Brian and Naitik >> > >> > Do you need any of these? >> > >> > a - >> > b - >> > c - >> > d - current -10 code-and-token proposal >> > >> > EHL >> > >> > _______________________________________________ >> > OAuth mailing list >> > OAuth@ietf.org >> > https://www.ietf.org/mailman/listinfo/oauth >> > >> _______________________________________________ >> OAuth mailing list >> OAuth@ietf.org >> https://www.ietf.org/mailman/listinfo/oauth >> >
- [OAUTH-WG] Quick survey: fragment vs. query Eran Hammer-Lahav
- Re: [OAUTH-WG] Quick survey: fragment vs. query Brian Eaton
- Re: [OAUTH-WG] Quick survey: fragment vs. query David Recordon
- Re: [OAUTH-WG] Quick survey: fragment vs. query David Recordon
- Re: [OAUTH-WG] Quick survey: fragment vs. query Luke Shepard
- Re: [OAUTH-WG] Quick survey: fragment vs. query Naitik Shah
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Oleg Gryb
- Re: [OAUTH-WG] Quick survey: fragment vs. query Luke Shepard
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Eran Hammer-Lahav
- Re: [OAUTH-WG] Quick survey: fragment vs. query Oleg Gryb
- Re: [OAUTH-WG] Quick survey: fragment vs. query David Recordon
- Re: [OAUTH-WG] Quick survey: fragment vs. query Gryb, Oleg
- Re: [OAUTH-WG] Quick survey: fragment vs. query Brian Eaton
- Re: [OAUTH-WG] Quick survey: fragment vs. query Oleg Gryb
- Re: [OAUTH-WG] Quick survey: fragment vs. query Brian Eaton
- Re: [OAUTH-WG] Quick survey: fragment vs. query Naitik Shah
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Brian Eaton
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Brian Eaton
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Eran Hammer-Lahav
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Brian Eaton
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Brian Eaton
- Re: [OAUTH-WG] Quick survey: fragment vs. query Torsten Lodderstedt
- Re: [OAUTH-WG] Quick survey: fragment vs. query Zeltsan, Zachary (Zachary)
- Re: [OAUTH-WG] Quick survey: fragment vs. query Eran Hammer-Lahav