Re: [OAUTH-WG] Error code for access token request

Antonio Sanso <asanso@adobe.com> Thu, 19 January 2012 17:06 UTC

Return-Path: <asanso@adobe.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 631B821F86C6 for <oauth@ietfa.amsl.com>; Thu, 19 Jan 2012 09:06:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.598
X-Spam-Level:
X-Spam-Status: No, score=-106.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qmNPPXx70xzW for <oauth@ietfa.amsl.com>; Thu, 19 Jan 2012 09:06:09 -0800 (PST)
Received: from exprod6og117.obsmtp.com (exprod6og117.obsmtp.com [64.18.1.39]) by ietfa.amsl.com (Postfix) with ESMTP id 48C4921F86C1 for <oauth@ietf.org>; Thu, 19 Jan 2012 09:06:08 -0800 (PST)
Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob117.postini.com ([64.18.5.12]) with SMTP ID DSNKTxhNc7hHEsA8Jk2rSLhIvs/+Cszqkxy/@postini.com; Thu, 19 Jan 2012 09:06:09 PST
Received: from inner-relay-1.corp.adobe.com (inner-relay-1.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q0JH5r2U011664; Thu, 19 Jan 2012 09:05:54 -0800 (PST)
Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q0JH5rMM004553; Thu, 19 Jan 2012 09:05:53 -0800 (PST)
Received: from eurcas01.eur.adobe.com (10.128.4.27) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.192.1; Thu, 19 Jan 2012 09:05:53 -0800
Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurcas01.eur.adobe.com ([10.128.4.27]) with mapi; Thu, 19 Jan 2012 17:05:52 +0000
From: Antonio Sanso <asanso@adobe.com>
To: Eran Hammer <eran@hueniverse.com>
Date: Thu, 19 Jan 2012 17:05:51 +0000
Thread-Topic: Error code for access token request
Thread-Index: AczWzJk/mzsZWxKHS+ierrXjVwqRaA==
Message-ID: <966C829C-AD86-428C-984A-C5A806ECB399@adobe.com>
References: <4A1DD0C1-77F2-4824-973A-25F225D94F93@adobe.com> <90C41DD21FB7C64BB94121FBBC2E723453A72D0CF5@P3PW5EX1MB01.EX1.SECURESERVER.NET>
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E723453A72D0CF5@P3PW5EX1MB01.EX1.SECURESERVER.NET>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_966C829CAD86428C984AC5A806ECB399adobecom_"
MIME-Version: 1.0
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Error code for access token request
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: Thu, 19 Jan 2012 17:06:10 -0000

Hi Eran,

thanks a lot for your response.
As long as I understood from [1] though the error parameter is mandatory


error
         REQUIRED.  A single error code from the following:


Which one is appropriate in case of server error? I cannot see any that would suite...

Thanks in advance

Antonio

[1] http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-5.2

On Jan 9, 2012, at 5:11 PM, Eran Hammer wrote:

Just return HTTP 5xx. We needed the special error code because of the redirection flow.

EHL

From: oauth-bounces@ietf.org<mailto:oauth-bounces@ietf.org> [mailto:oauth-bounces@ietf.org] On Behalf Of Antonio Sanso
Sent: Friday, December 30, 2011 10:22 AM
To: OAuth WG
Subject: [OAUTH-WG] Error code for access token request

Hi *,

Error response for Authorization Request defines some kind of server error code response:


server_error

               The authorization server encountered an unexpected

               condition which prevented it from fulfilling the request.



as in [0].



I was wondering if would be possible/useful having same for error code for access token request [1]



WDYT?



Regards



Antonio





[0] http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-4.1.2.1

[1] http://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-5.2