Re: [OAUTH-WG] Device Authorization Grant Interval

Joseph Heenan <joseph@authlete.com> Sun, 02 June 2019 08:10 UTC

Return-Path: <joseph@authlete.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 B8BFE120073 for <oauth@ietfa.amsl.com>; Sun, 2 Jun 2019 01:10:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=authlete-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 HsmAR8qwJz8a for <oauth@ietfa.amsl.com>; Sun, 2 Jun 2019 01:10:16 -0700 (PDT)
Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 BB24312008F for <oauth@ietf.org>; Sun, 2 Jun 2019 01:10:15 -0700 (PDT)
Received: by mail-wm1-x32c.google.com with SMTP id f10so8529168wmb.1 for <oauth@ietf.org>; Sun, 02 Jun 2019 01:10:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=authlete-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PzjUeutmcZ5VvRlDQncXQhNaKuozhuhn5wEkhrlMocs=; b=gqES2JE4JjdCO5nWbkEUQyfTBniQPVxwmYA9Qg04Q7q5hQ5Y0gD7CoxvQUSuNRfBLR vgP8AlnnmxJpsewW5wdG+Oo847go9K7K8UkyMoBvJJBTbJ1GfYnMxgKL1V2C0lN+695T zhhcr54rYpjkVGZyprnJ8bOHkXuqJjAr39+5R396Z9U+AT/YpddnSG4l+vvYUG/uvxEg C+J2wwpN1HhmVsVdbXNdsEPYwZyu2SbCccnYqlx6AqMWbbeJixUaZKgAxrJpaCxuDreV 5GeX45rK+8LOqz/fkonO/3UKsaE2w6Pbudp8b4arzvewjFiRerwi1oMaz6oQfKBl1iFa CSKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=PzjUeutmcZ5VvRlDQncXQhNaKuozhuhn5wEkhrlMocs=; b=m66C7QPptqQtRQQj8AC1HebN4N3Gm2ZC8HJlBS6PmBRYz+d9ET9gr3BOUstr42a5S9 B7ZvvE5EjqnKOsXQ/mIXE2ol+8dHkgUvEDXzF0Tn1Bp6zjOshHEHreEhlnsl7cRQqZUa c3YSHoosq2dThmY/heb47zU9n6lC5x3fg/l1gYG2qSh+J/mnBdofYo3ImDodgapHcnx8 wd9dFzmXKLPa7l48qzOCSH7e4w6QnN8sRK8hrkLpPJzqYaIyH1DsBCVW2QOAnqMJ6SJb 7TdRYy20ymUFrECMIr0Ue2Eu90wKGSXsM325bP6KgE7U37pjWAuNhDZktqHIkaa0atqV HtWg==
X-Gm-Message-State: APjAAAXu0580mqK9orGkoPCp2oeFOqHyx7emcFSQeR+vspJzD1HF8kNA vdbmWFl0zYsGBP5aOpo3iun7+A==
X-Google-Smtp-Source: APXvYqyZAAg9hwW0uDzX+lgWsU02ITNa2Vy9MSAE08x5Gf7ALjoo0hSQmb9F3VACbzfR1WEdrS99wg==
X-Received: by 2002:a7b:cc0d:: with SMTP id f13mr11249767wmh.1.1559463014120; Sun, 02 Jun 2019 01:10:14 -0700 (PDT)
Received: from fon.sh2.org.uk (home.heenan.me.uk. [212.159.108.133]) by smtp.gmail.com with ESMTPSA id l18sm26240051wrh.54.2019.06.02.01.10.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jun 2019 01:10:13 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Joseph Heenan <joseph@authlete.com>
In-Reply-To: <CAM7dPt0nS=+6oACUTc=sXnw3dpEqMB3ETq03iYnM1HsLv2_OQg@mail.gmail.com>
Date: Sun, 02 Jun 2019 09:10:11 +0100
Cc: oauth@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <CE182107-09A2-49EB-9CBD-7354F051D2FA@authlete.com>
References: <CAM7dPt0nS=+6oACUTc=sXnw3dpEqMB3ETq03iYnM1HsLv2_OQg@mail.gmail.com>
To: Janak Amarasena <janakama360@gmail.com>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/yWDOmu3YRkVPZcDFtpHfLXLgwgQ>
Subject: Re: [OAUTH-WG] Device Authorization Grant Interval
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 02 Jun 2019 08:10:18 -0000

Hi Janak,

Interestingly this came up when discussing the CIBA specification (which builds upon device authorization grant to some extent) recently: https://bitbucket.org/openid/mobile/issues/135/token-endpoint-response-when-client-polls

The thought that group came up with is that returning ‘invalid_request’ would be appropriate - ideally appropriate error_description to make it easy to understand what’s going on.

Cheers,

Joseph


> On 21 May 2019, at 06:21, Janak Amarasena <janakama360@gmail.com> wrote:
> 
> Hi all,
> 
> In the OAuth2 Device Authorization Grant, what would be an appropriate response if the client does not respect the set polling interval and keeps on polling with a lower interval?
> 
> Thank you,
> Best Regards,
> 
> Janak Amarasena
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth