Re: [OAUTH-WG] FW: draft-ietf-oauth-device-flow: url with code
Simon Moffatt <simon.moffatt@forgerock.com> Wed, 01 March 2017 09:00 UTC
Return-Path: <simon.moffatt@forgerock.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 641F41294DB for <oauth@ietfa.amsl.com>; Wed, 1 Mar 2017 01:00:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=forgerock.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 AAvFqLq40RtG for <oauth@ietfa.amsl.com>; Wed, 1 Mar 2017 01:00:06 -0800 (PST)
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 89ADF1294BF for <oauth@ietf.org>; Wed, 1 Mar 2017 01:00:05 -0800 (PST)
Received: by mail-wm0-x232.google.com with SMTP id u199so30688452wmd.1 for <oauth@ietf.org>; Wed, 01 Mar 2017 01:00:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=forgerock.com; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=k1w6o6Yt6NzRsWEfc2l6vFIaOJxsA8D8UM36Vd7WoOQ=; b=hNrZ20hCJY7Bpyd0VcVOdr2ZSRsuXgiFdh4Y6JELYbzwvxRYhZfi2E50nl0VQevXnA FEqxezeDOKpc0HRPbFebLbzllK0YdgTJ/zNTlw/0loyEMOKRx45ze5/QcmCKaA1yHddS BFV/lj/Nr6FZY+Lj+qy/2PwWBI1tWlUxlEA0w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=k1w6o6Yt6NzRsWEfc2l6vFIaOJxsA8D8UM36Vd7WoOQ=; b=ktVTBg/4FCs1xJ8IaHUGr+jzetjYVx0gw3f2QTE9ORVS0zWNnUbeVP0bMemUO+M3LN 7jVJ98qiXxZ/WUVbM0ycJ6yTPTnvPuDdlt10F6WkeX9EvuRB55oAY1atpo8EzSc/i7Ff rJdw6+ojngRFQjIXVP6/NCIE7aGkaRTT8gSpeyLnxXnM/XjkwA0Cf8W3jRLClDjLDctN 12jPBf+ppsyo+imW1CzPkWt1mqELXPOcJN+08zEgFz3wKnysSygDBaySQJvx7F5xRLer S4u6DCpZjLQmVbz4yn6svCa0NEBQzNLJctTrG6xRCoQrM0vT0kAf2VNeGlJihHlchK0H wN/A==
X-Gm-Message-State: AMke39k/43albN9V0b8yxYIOAMZi9bhTWvIT648780qNXxXBvp6ABQl6SrL6b8L39cBXSXIV
X-Received: by 10.28.179.7 with SMTP id c7mr2215812wmf.128.1488358803720; Wed, 01 Mar 2017 01:00:03 -0800 (PST)
Received: from [192.168.0.38] (97e131d7.skybroadband.com. [151.225.49.215]) by smtp.gmail.com with ESMTPSA id m83sm21803263wmc.33.2017.03.01.01.00.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Mar 2017 01:00:02 -0800 (PST)
To: "Manger, James" <James.H.Manger@team.telstra.com>, "oauth@ietf.org" <oauth@ietf.org>, William Denniss <wdenniss@google.com>, "mbj@microsoft.com" <mbj@microsoft.com>, "ve7jtb@ve7jtb.com" <ve7jtb@ve7jtb.com>, "Hannes.Tschofenig@gmx.net" <Hannes.Tschofenig@gmx.net>
References: <SYXPR01MB16152987001DF96C3660FD6DE5290@SYXPR01MB1615.ausprd01.prod.outlook.com>
From: Simon Moffatt <simon.moffatt@forgerock.com>
Message-ID: <4487bfe9-a67f-ab45-a1a9-9a644c1cb3a2@forgerock.com>
Date: Wed, 01 Mar 2017 09:00:01 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <SYXPR01MB16152987001DF96C3660FD6DE5290@SYXPR01MB1615.ausprd01.prod.outlook.com>
Content-Type: multipart/alternative; boundary="------------793932BBFDA6BF2AA90469C4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/tegBtjzRQ6Je3EURNCW_s7vsRtQ>
Subject: Re: [OAUTH-WG] FW: draft-ietf-oauth-device-flow: url with code
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: Wed, 01 Mar 2017 09:00:08 -0000
Hi James My only comment on sending values are URL arguments, is that intermediary network devices typically log the entire URL - meaning the code would be written to a secondary location in logs for example. Whilst the re-use potential would be limited, it is of a course a potential... Worth considering if using that approach. My 2c. Simon On 01/03/17 00:23, Manger, James wrote: > > Resending; not sure that OAuth email list is working at the moment. > > *From:*Manger, James > *Sent:* Tuesday, 28 February 2017 9:53 AM > *To:* oauth@ietf.org > *Subject:* draft-ietf-oauth-device-flow: url with code > > How about combining the verification_uri and user_code? > > The Device Flow provides a verification_uri and user_code, both of > which have to be copied to a web browser on, say, a mobile phone. The > main model in this draft is that the user copies the uri, then the > resulting web page prompts for the code. The draft also mentions other > possibilities such as Bluetooth to do the “copying”. Transmitting a > URI via Bluetooth, or NFC, or QR code, is quite common. In such cases > it would be nicer to transmit the user_code as part of the URI. > > Perhaps both modes could be supported by saying the user_code can be > included as a query parameter on the verification_uri when it is more > convenient for a device to transmit a single URI. Authorization > Servers MUST accept this. The choice is to use user_code as the > complete query string (eg https://example.com/device?wdjb-mjht) or > specify a “code” parameter name (eg > https://example.com/device?code=wdjb-mjht). > > Recommending case-insensitive punctuation-ignoring alphabetic codes is > good, but how does a user know this is the case for a particular code? > Perhaps the advice needs to be to use a “fancy” input field with > javascript to convert to uppercase as the user types and handle > punctuation? > > [§6.1] The example user code “WDJB-MJHT” doesn’t have “24^8 bits of > entropy”, but “log2(24 ^ 8) = 36.7 bits of entropy”. > > -- > > James Manger > > On Mon, Feb 27, 2017 at 9:46 AM, <internet-drafts@ietf.org > <mailto:internet-drafts@ietf.org>> wrote: > > Title : OAuth 2.0 Device Flow for Browserless and > Input Constrained Devices > Filename : draft-ietf-oauth-device-flow-04.txt > > Abstract: > This OAuth 2.0 authorization flow for browserless and input > constrained devices, often referred to as the device flow, enables > OAuth clients to request user authorization from devices that > have an > Internet connection, but don't have an easy input method (such as a > smart TV, media console, picture frame, or printer), or lack a > suitable browser for a more traditional OAuth flow. This > authorization flow instructs the user to perform the authorization > request on a secondary device, such as a smartphone. There is no > requirement for communication between the constrained device > and the > user's secondary device. > > https://tools.ietf.org/html/draft-ietf-oauth-device-flow-04 > > > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth -- ForgeRock <http://www.forgerock.com/> *Simon Moffatt* Product Management | ForgeRock *tel* +44 (0) 7903 347 240 | *e* Simon.Moffatt@Forgerock.com <mailto:simon.moffatt@forgerock.com> *skype* simon.moffatt | *web* www.forgerock.com <http://www.forgerock.com/> | *twitter* @simonmoffatt ForgeRock Live 2017 <https://summits.forgerock.com/>
- [OAUTH-WG] FW: draft-ietf-oauth-device-flow: url … Manger, James
- Re: [OAUTH-WG] FW: draft-ietf-oauth-device-flow: … William Denniss
- Re: [OAUTH-WG] FW: draft-ietf-oauth-device-flow: … Manger, James
- Re: [OAUTH-WG] FW: draft-ietf-oauth-device-flow: … William Denniss
- Re: [OAUTH-WG] FW: draft-ietf-oauth-device-flow: … Simon Moffatt