Re: [OAUTH-WG] OAuth Device Flow data from Microsoft implementations

Alex Bilbie <hello@alexbilbie.com> Tue, 10 May 2016 07:25 UTC

Return-Path: <hello@alexbilbie.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 C99E912D0C0 for <oauth@ietfa.amsl.com>; Tue, 10 May 2016 00:25:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.82
X-Spam-Level:
X-Spam-Status: No, score=-1.82 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=alexbilbie-com.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SvQSu9W5SEm8 for <oauth@ietfa.amsl.com>; Tue, 10 May 2016 00:25:50 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0359A12D188 for <oauth@ietf.org>; Tue, 10 May 2016 00:25:49 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id u64so4718639lff.3 for <oauth@ietf.org>; Tue, 10 May 2016 00:25:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexbilbie-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=UIY0xUP56EbyDPr3X0f8NczDDp1wEj+6ijqgnehvRC8=; b=UQmk/Hm0JdjUhWX+RYACsHW/92o6vh/GyRCMOKlxqm2ll+37AIBNCfvKiietmTISJU 3Y2x+7s9kE70iS22b+pVLYYmiHGVsHvxupTPzC+qhRYXAYhmEFIQ+xCpRWlFLdoOyV+7 bdxugDNtgDve7qm0pOb4oT/OWpkvSfzip0KiVI/36XIF2mmPXE15YoOUGfmgaxJ50Qf7 dtl/FVqOTTOS+DLrKhywrRaE+rkEiCXadUk8I07EZhNjFHzvgcvcsU+VIUgFYKsRegi9 RJE8Ap4d8QXv0XegLsUuoysddu4DyRgnrapwKeR0m0fUOUt4bXYOveEv+c1DK0XaDg4f BA/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UIY0xUP56EbyDPr3X0f8NczDDp1wEj+6ijqgnehvRC8=; b=TehrycW78feSPf6OYVmZVeUwQMSUkfHFzFhMlP5h/QVv5NSFSI8iqJWpuVgT3f5flu TLI6qk+qY6MNEkL5jOvdlsrC5mdLLOQVd1jPGPQpQlhijL2eJBVF406zbEeZIu9/5i4q dPBnO19SUD6fzJ4FkdpgJFE137LGVYWAP7508MhljrCT6IWOOtw4zyiAPvX9DwKXRtn3 DWV+J2fzSzpU8YbKOYeRMr/sWUYM2QJiXBEWBdnLwwSFzIUWGtvdMFgbIevbfs3LaNRd g6rglFLiSKmr7heOcO9uZfEZ8KrX+F1nRpsKBydw6mMFg9kFQ/zd/nyp5f8sG7J4/Z57 1Xsg==
X-Gm-Message-State: AOPr4FXSxnzPlUzC4K/4d/b5whiU6M8f1Xy3PZJUl45Sg049uL4KvZ9F+cFrAtr5xiEHvwRULnbq4K5sh/Mk+Q==
X-Received: by 10.25.18.215 with SMTP id 84mr16259152lfs.154.1462865147943; Tue, 10 May 2016 00:25:47 -0700 (PDT)
MIME-Version: 1.0
From: Alex Bilbie <hello@alexbilbie.com>
Date: Tue, 10 May 2016 07:25:38 +0000
Message-ID: <CAGKidOSFfGXugiR3BEyx3Na8kfNZwSoXPMgToBA=tgXCYq+p9Q@mail.gmail.com>
To: "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="001a114082127f710f053277d5f1"
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/EhJro-CX3ta9FFYd2Vf_cLWEpwI>
Subject: Re: [OAUTH-WG] OAuth Device Flow data from Microsoft implementations
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 10 May 2016 07:25:53 -0000

Hi Mike,

Some interesting feedback.


> One of the two implementations has an optional “message” parameter
> containing text that is to be shown to the user.  This one also uses a
> “mkt” parameter to indicate the locale of the message (as opposed to, for
> instance, ui_locales).  The developers want to know what the working group
> thinks of the possibility of supporting some kind of a “message” parameter.


In our test implementation we're serving a localised message parameter by
interpreting the Accept-Language request header.

I agree that an optional message parameter should be part of the
specification.

Alex

On Sun, 8 May 2016 at 06:27 Mike Jones <Michael.Jones@microsoft.com> wrote:

> I sat down with the two Microsoft teams that have implementations of the
> OAuth Device Flow and compared what they currently have built to
> draft-ietf-oauth-device-flow.  Here’s some data that we assembled…
>
>
>
> One of the two implementations has an optional “message” parameter
> containing text that is to be shown to the user.  This one also uses a
> “mkt” parameter to indicate the locale of the message (as opposed to, for
> instance, ui_locales).  The developers want to know what the working group
> thinks of the possibility of supporting some kind of a “message” parameter.
>
>
>
> The developers would like an example in the spec that shows the use of
> simple polling.
>
>
>
> We are using the “device_code” grant type.  The token request is missing
> from the spec, including the grant type being missing from the spec.
>
>
>
> One implementation adds two new errors: auth_pending and
> expired_device_code.  (The spec uses authorization_pending.)  This
> implementation also uses the access_denied error defined by RFC 6749.
>
>
>
> The other uses authorization_pending, code_expired, and
> authorization_declined.  The developers agreed that authorization_declined
> should become access_denied.  That implementation hasn’t implemented
> slow_down.
>
>
>
> The developers wanted to ask what the right code expiration error code
> is.  They felt that invalid_grant may be a bit too broad.
>
>
>
> Our requests in both implementations do match the specification.
>
>
>
> Our implementations currently use verification_url instead of
> verification_uri.  This should be changed to verification_uri to match IETF
> naming practices.
>
>
>
> Our default expires_in is 900 (15 minutes).  Our default interval is 5
> seconds.
>
>
>
> Both implementations do intend to migrate to the syntax in the eventual
> final specification.
>
>
>
>                                                           -- Mike
>
>
>
>
>
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>