Re: [OAUTH-WG] Device Profile
Marius Scurtescu <mscurtescu@google.com> Wed, 03 August 2011 00:06 UTC
Return-Path: <mscurtescu@google.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8377811E80DD for <oauth@ietfa.amsl.com>; Tue, 2 Aug 2011 17:06:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.977
X-Spam-Level:
X-Spam-Status: No, score=-106.977 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_I_LETTER=-2, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gzYepiyHBqZH for <oauth@ietfa.amsl.com>; Tue, 2 Aug 2011 17:06:31 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by ietfa.amsl.com (Postfix) with ESMTP id 53CA411E8095 for <oauth@ietf.org>; Tue, 2 Aug 2011 17:06:30 -0700 (PDT)
Received: from kpbe13.cbf.corp.google.com (kpbe13.cbf.corp.google.com [172.25.105.77]) by smtp-out.google.com with ESMTP id p7306Zki028781 for <oauth@ietf.org>; Tue, 2 Aug 2011 17:06:36 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1312329996; bh=iL/q3F+KTGy2fjow6sDndZ+ep7Q=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type:Content-Transfer-Encoding; b=OBC1UKw8gv4+zhemda7k32ejvsMdN4KVRi6FDPkZvKKklqRdjXyj/tLK1ZPjKj8+A AKvtF5z5Y0UBcU08JOMHg==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:from:date: message-id:subject:to:cc:content-type: content-transfer-encoding:x-system-of-record; b=BfIa5RV3pSlNgwCg5eP2lHpOilsECrl5jLz7pW6L9uU7tv58LkKa7K6Ug/9zz0atA LtHsoN21abX+o85k2LuBg==
Received: from yxk38 (yxk38.prod.google.com [10.190.3.166]) by kpbe13.cbf.corp.google.com with ESMTP id p73057HW009567 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <oauth@ietf.org>; Tue, 2 Aug 2011 17:06:34 -0700
Received: by yxk38 with SMTP id 38so254205yxk.2 for <oauth@ietf.org>; Tue, 02 Aug 2011 17:06:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=qAREkXZ4oQAf3/kUSr5MEMAq9CKl4hzxBJh9OfYgZ5I=; b=HKZ5PzwkwRUnHq49NHv2gMJjeft4uDMpHqNqSO5jyOHAzjp9eJhVLAx26Txt6wNzPG S7SdmchrcbPevm6Kn8nQ==
Received: by 10.101.87.1 with SMTP id p1mr4605064anl.35.1312329994330; Tue, 02 Aug 2011 17:06:34 -0700 (PDT)
Received: by 10.101.87.1 with SMTP id p1mr4605058anl.35.1312329994108; Tue, 02 Aug 2011 17:06:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.194.13 with HTTP; Tue, 2 Aug 2011 17:06:14 -0700 (PDT)
In-Reply-To: <CA+5SmTVQ2M=U8DVKyfEes1JVkmhxwtdCL6=wY6JC7pxSBd6R3g@mail.gmail.com>
References: <CA+5SmTVQ2M=U8DVKyfEes1JVkmhxwtdCL6=wY6JC7pxSBd6R3g@mail.gmail.com>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Tue, 02 Aug 2011 17:06:14 -0700
Message-ID: <CAGdjJpLemHiUOxdHwwKu+a1k7iCFKuvP5EQx9nA=AWYmVyyXjw@mail.gmail.com>
To: Aiden Bell <aiden449@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: OAuth WG <oauth@ietf.org>, dr@fb.com
Subject: Re: [OAUTH-WG] Device Profile
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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, 03 Aug 2011 00:06:32 -0000
On Tue, Aug 2, 2011 at 3:19 PM, Aiden Bell <aiden449@gmail.com> wrote: > Hi, > > I am currently implementing the device profile described at > http://tools.ietf.org/html/draft-recordon-oauth-v2-device-00 > > Wanted to check this hadn't been superseded by any other document or > protocol > though I did notice the Google implementation is in-line with this document. Google's implementation is close, but it is not following the extension to the letter. Mostly because the OAuth 2 spec evolved since the extension was written. Here is the documentation: http://code.google.com/apis/accounts/docs/OAuth2ForDevices.html Marius > Even though the summary states this is intended for limited input devices in > combination with a full user agent (PC browser, smartphone browser), > > We are finding this extension useful for app authentication when the API > serving the app is "open". This means that many developers can create > mobile apps for one API, in conjunction with single users. For example, > many apps may exist for the same API, and a single user may use many > apps. > > As a result, we want to remove the requirement for ever entering use > account-specific > data (passwords etc) into apps, and allow a user to revoke app/device access > on a per-instance > basis. The end-user concerns of password security are lessened here. > > With OpenID or WebID in the mix, this further enhances the app/device > authentication > process as in an OpenID/WebID or similar setting, we can't always do > resource owner password > credentals (as in 1.4.3 of OAuth 2.0 > http://tools.ietf.org/html/draft-ietf-oauth-v2-20 ) > > Unless I am missing another document or flow that provides the above better, > (most likely I am) > perhaps it is worth extending the scope/summary of device-00? > > Also, typo in the JSON > > HTTP/1.1 200 OK > Content-Type: application/json > Cache-Control: no-store > > { > "device_code":"74tq5miHKB", > "user_code":"94248", > "verification_uri":"http://www.example.com/device", > "interval"=5 > } > > I think should be: > > HTTP/1.1 200 OK > Content-Type: application/json > Cache-Control: no-store > > { > "device_code":"74tq5miHKB", > "user_code":"94248", > "verification_uri":"http://www.example.com/device", > "interval":5 > } > > Thanks, > Aiden > > -- > ------------------------------------------------------------------ > Never send sensitive or private information via email unless it is > encrypted. http://www.gnupg.org > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth > >
- [OAUTH-WG] Device Profile Brent Goldman
- Re: [OAUTH-WG] Device Profile Shafi, Saleem
- Re: [OAUTH-WG] Device Profile Brent Goldman
- Re: [OAUTH-WG] Device Profile Shafi, Saleem
- Re: [OAUTH-WG] Device Profile Brent Goldman
- Re: [OAUTH-WG] Device Profile Eric Sachs
- [OAUTH-WG] Device Profile Aiden Bell
- Re: [OAUTH-WG] Device Profile Marius Scurtescu