Re: [OAUTH-WG] Adding machine readable errors to SPOP?

John Bradley <ve7jtb@ve7jtb.com> Fri, 14 November 2014 17:07 UTC

Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4979B1A1AB1 for <oauth@ietfa.amsl.com>; Fri, 14 Nov 2014 09:07:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 mam3Xq7F5Asb for <oauth@ietfa.amsl.com>; Fri, 14 Nov 2014 09:07:14 -0800 (PST)
Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 94DA31A1AF9 for <oauth@ietf.org>; Fri, 14 Nov 2014 09:07:12 -0800 (PST)
Received: by mail-wi0-f181.google.com with SMTP id n3so3315991wiv.14 for <oauth@ietf.org>; Fri, 14 Nov 2014 09:07:11 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=iSgOnPIFp5tRskI/RBrKLtNUzOYNKJ8XJUz5KZ1uCR4=; b=iavuqGwjDgAJcB42C60Wq/ygxlRxrEEoUN0gWNjU7U2sm0bBnnu6kty+faL4Hdvzc7 ArTDElwt5gTDnLiQXDMA7ZqOW5MwLeHQ8vOZGTUzziWq8qmikP80Fjo2JJeP5+6RQZMG mB6Y7kvyOngVzdqCfKG/oqdY32Zw9cKEyY1m4oAPO/hr/VysqLVOhunJs0EuGt1umyO9 nvWK3BCKq2gBryQIGWCyQ+q4Mm5rMgALMZKAyRpE9kv6DZoLTor7INWHHixWemk26v+V Og0Fdov6zRkXQednwzqhWmH3oovL7ebsBgke2evkJY1LVS5b6RCQ1VSDUAF2ChijWV8F 2L6A==
X-Gm-Message-State: ALoCoQmkH5GpfilVGcjj3sIQJ99LlcoXw8t4piBk8gAsiiuuTk01xRAcC022xaTmtA7FQPpmbqVa
X-Received: by 10.180.108.43 with SMTP id hh11mr9174785wib.80.1415984830998; Fri, 14 Nov 2014 09:07:10 -0800 (PST)
Received: from t2001067c03700144344fb9716f5dafb1.hotel-wired.v6.meeting.ietf.org (t2001067c03700144344fb9716f5dafb1.hotel-wired.v6.meeting.ietf.org. [2001:67c:370:144:344f:b971:6f5d:afb1]) by mx.google.com with ESMTPSA id wl1sm40354758wjb.4.2014.11.14.09.07.08 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Nov 2014 09:07:10 -0800 (PST)
Content-Type: multipart/signed; boundary="Apple-Mail=_132946A3-9065-4233-AD7A-6EC5B4B781B8"; protocol="application/pkcs7-signature"; micalg="sha1"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <CABzCy2Cd1oWuUmvhMnrNKbzHiA447xHjcvd0z=usMMP3tEzRsg@mail.gmail.com>
Date: Fri, 14 Nov 2014 07:07:18 -1000
Message-Id: <25AA1078-5A90-41EA-B30C-2E8962214177@ve7jtb.com>
References: <CABzCy2AqUvaJSpA3sKxWp8zs+kkTnq++Kv0a81JpBor825eaKg@mail.gmail.com> <CA+k3eCTF=SnWP2rE7pRCe4ve_KUhZoCj+h7NhRUjjpEpXEWUVA@mail.gmail.com> <CABzCy2Cd1oWuUmvhMnrNKbzHiA447xHjcvd0z=usMMP3tEzRsg@mail.gmail.com>
To: Nat Sakimura <sakimura@gmail.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: http://mailarchive.ietf.org/arch/msg/oauth/PUGAf_NhGKCfsoK_MVcYYEJ47cE
Cc: oauth <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Adding machine readable errors to SPOP?
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 14 Nov 2014 17:07:18 -0000

<hatoff> Nat and I discussed it yesterday and I am still personally unconvinced that the errors from the authorization endpoint are helpful.   So I am personally against adding specific errors for S256_unsupported </hatoff>

On Nov 14, 2014, at 6:52 AM, Nat Sakimura <sakimura@gmail.com> wrote:

> <editorhatoff>I find not much, if any. </editorhatoff >
> 
> 
> On Fri, Nov 14, 2014 at 06:27 Brian Campbell <bcampbell@pingidentity.com> wrote:
> I struggle to see the value in adding more fine grained machine readable error messages for this. 
> 
> Do we really want clients to try and negotiate the code_challenge_method using browser redirects? Especially in light of the fact that we'll likely also be discouraging AS's from redirecting on some error conditions when there's no user interaction. 
> 
> On Wed, Nov 12, 2014 at 1:48 PM, Nat Sakimura <sakimura@gmail.com> wrote:
> As discussed at F2F today at IETF 91 OAuth WG, there has been some request to have a more fine grained machine readable error messages. 
> 
> Currently, it only returns the error defined in RFC6749 and any more details is supposed to be returned in error_descripton and error_uri. 
> 
> So, I came up with the following proposal. If WG agrees, I would put text embodying it into the draft-04. Otherwise, I would like to go as is. You have to speak out to put it in. (I am sending out -03, which we meant to send before submit freeze, without it..) 
> 
> nError response to authorization request
> lReturns invalid_request with additional error param spop_error with the following values:
> ▪S256_unsupported
> ▪none_unsupported
> ▪invalid_code_challenge
> Clients MUST NOT accept the downgrade
> request through this as it may be a downgrade
> attack by a MITM.
> nError response to token request
> lReturns invalid_request with additional error param spop_error with the following values:
> ▪invalid _code_verifier
> ▪verifier_challenge_mismatch
> nAuthorization server should return more descriptive information on
> lerror_description
> lerror_uri
> 
> 
> 
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
> 
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth