Re: [OAUTH-WG] Assertion flow: please add optional refresh_token in response
Dick Hardt <dick.hardt@gmail.com> Tue, 15 June 2010 14:12 UTC
Return-Path: <dick.hardt@gmail.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 06BFA3A67D6 for <oauth@core3.amsl.com>; Tue, 15 Jun 2010 07:12:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.35
X-Spam-Level:
X-Spam-Status: No, score=-2.35 tagged_above=-999 required=5 tests=[AWL=0.248, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 CUsYu0YG-e59 for <oauth@core3.amsl.com>; Tue, 15 Jun 2010 07:12:40 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by core3.amsl.com (Postfix) with ESMTP id 573323A6916 for <oauth@ietf.org>; Tue, 15 Jun 2010 07:12:40 -0700 (PDT)
Received: by pwi8 with SMTP id 8so3758575pwi.31 for <oauth@ietf.org>; Tue, 15 Jun 2010 07:12:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:message-id:references:to :x-mailer; bh=HH9ABKaqqZg+7ddvo2E/R8GHYLv3VIBsBoARHBj51RM=; b=KJcQosfTwY9uUFA9BiUCcj6gyWWG4UEtOBrW2eNcVeJzvXIS/iOvUdfKopnuiAjYI7 GvOBXXQ8qfsmRPtmn6BjQ7LM7+YPXpCAJqdih3c55WMczxmAz0Yn+vO21GfkSyGMu/Ax zPg7Oh6wR2DEneVlBY8Ded/JUkiWxpIvle5CI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=XfqePvbTfI8x2j4Y5ofIOZKeCY+lFF1Nd/8vbheJJ/zmZ+uu2QSmli06/NrAKHcvzo LfscHkla/+4mPVJCVmKvzOpJ9RhDJlxxBX+zR89FpWHXOVrQQDGg2L/RtTT7FduffhR+ NqhOn+gQOT2SwFs3ocPJZfHd6IylRsfqKA/lE=
Received: by 10.141.2.14 with SMTP id e14mr5780621rvi.115.1276611161988; Tue, 15 Jun 2010 07:12:41 -0700 (PDT)
Received: from [192.168.1.5] ([24.130.32.55]) by mx.google.com with ESMTPS id g14sm5865290rvb.13.2010.06.15.07.12.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Jun 2010 07:12:41 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1078)
Content-Type: multipart/alternative; boundary="Apple-Mail-4--196267615"
From: Dick Hardt <dick.hardt@gmail.com>
In-Reply-To: <AANLkTilRNaMzu9018HcZLb_j-vKbh4Mtl1LR_BYtnro-@mail.gmail.com>
Date: Tue, 15 Jun 2010 07:12:39 -0700
Message-Id: <A3F81FEE-7C52-4DD1-8261-C86FAFF3E1D5@gmail.com>
References: <AANLkTil1viRqVgwJzmq7N1W21TPeT5RuclBF5DmPvVVM@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E72343B3EBB68C9@P3PW5EX1MB01.EX1.SECURESERVER.NET> <AANLkTilRNaMzu9018HcZLb_j-vKbh4Mtl1LR_BYtnro-@mail.gmail.com>
To: Andrew Arnott <andrewarnott@gmail.com>
X-Mailer: Apple Mail (2.1078)
Cc: "OAuth WG (oauth@ietf.org)" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Assertion flow: please add optional refresh_token in response
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, 15 Jun 2010 14:12:43 -0000
Are you envisioning the client makes a call to AD to get an assertion where the call is automagically authenticated as the user by NTLM? What do you envision being the relationship between the AS and AD? What authority does the AS have? How long is the refresh token valid for? I think you have an interesting use case here, but it would be useful to step back and describe how the client got to the point you are envisioning per my last email. -- Dick On 2010-06-15, at 7:03 AM, Andrew Arnott wrote: > In this case, the assertion the client starts with is from Windows authentication, and the assertion is obtained from an Active Directory server that is inaccessible unless the client app is running on a computer currently connected to the corporate network. I imagine that assertion has a limited lifetime, and the client doesn't have access to it anyway since it is added to the HTTP request by the platform, and is a challenge-response based protocol and therefore cannot be replayed later. > > So sure, I can read "SHOULD NOT" as a recommendation and do it anyway (using the standard parameter name refresh_token). The assertion itself being a challenge-response type thing in the transport itself, this profile seems to apply even less unless it can be worded to say the assertion can be found elsewhere. (there's precedence for this in the spec that talks about how client credentials can be found in any of multiple places but must only be found in ONE of them). > > Let me know what you think. If I need to invent my own profile I guess I can do that. > -- > Andrew Arnott > "I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre > > > On Mon, Jun 14, 2010 at 8:50 PM, Eran Hammer-Lahav <eran@hueniverse.com> wrote: > First, the spec says “SHOULD NOT issue a refresh token” which means, don’t do it unless you have to. But what stops the client from keeping the same assertion and reusing it later? > > > As for using other methods for providing an assertion, you need to be more specific about what you have in mind. But either way, you can extend the token endpoint to support other ways of providing assertions. > > > EHL > > > From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of Andrew Arnott > Sent: Monday, June 14, 2010 8:32 PM > To: OAuth WG (oauth@ietf.org) > Subject: [OAUTH-WG] Assertion flow: please add optional refresh_token in response > > > For an application I'm building, the installed client app will have intermittent windows of time where it can obtain a (non-OAuth) assertion for user identity. During this time, it seems appropriate for it to use the assertion flow to obtain an OAuth authorization so that it can impersonate the user. So far this is just standard Assertion Flow stuff. But without a refresh_token, the app will break when the access token expires if the app doesn't have the ability at the moment (due to not being on the corporate network at the moment for example) to obtain a new assertion. Since the security model for this app would certainly allow for a refresh_token to be issued from the original OAuth authorization server exchange, this would solve it, if the spec didn't specifically ban such a parameter. > > Also, the user identity is asserted to the authorization server not through an assertion parameter but using Kerberos (I assume) as part of the HTTP protocol, so perhaps the spec for the assertion flow can specifically allow for assertions to be carried as part of the transport? > > -- > Andrew Arnott > "I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre > > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth
- Re: [OAUTH-WG] Assertion flow: please add optiona… Brian Eaton
- [OAUTH-WG] Assertion flow: please add optional re… Andrew Arnott
- Re: [OAUTH-WG] Assertion flow: please add optiona… Eran Hammer-Lahav
- Re: [OAUTH-WG] Assertion flow: please add optiona… Dick Hardt
- Re: [OAUTH-WG] Assertion flow: please add optiona… Andrew Arnott
- Re: [OAUTH-WG] Assertion flow: please add optiona… Andrew Arnott
- Re: [OAUTH-WG] Assertion flow: please add optiona… Dick Hardt
- Re: [OAUTH-WG] Assertion flow: please add optiona… Dick Hardt
- Re: [OAUTH-WG] Assertion flow: please add optiona… Andrew Arnott
- Re: [OAUTH-WG] Assertion flow: please add optiona… George Fletcher
- Re: [OAUTH-WG] Assertion flow: please add optiona… Torsten Lodderstedt
- Re: [OAUTH-WG] Assertion flow: please add optiona… Brian Eaton
- Re: [OAUTH-WG] Assertion flow: please add optiona… Torsten Lodderstedt