Re: [OAUTH-WG] error_description USASCII-encoded - is this a difficulty?
Todd W Lainhart <lainhart@us.ibm.com> Fri, 18 January 2013 13:43 UTC
Return-Path: <lainhart@us.ibm.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 6EC9D21F88EF for <oauth@ietfa.amsl.com>; Fri, 18 Jan 2013 05:43:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJaYRJFuDA+x for <oauth@ietfa.amsl.com>; Fri, 18 Jan 2013 05:43:41 -0800 (PST)
Received: from e7.ny.us.ibm.com (e7.ny.us.ibm.com [32.97.182.137]) by ietfa.amsl.com (Postfix) with ESMTP id 46A0321F8862 for <oauth@ietf.org>; Fri, 18 Jan 2013 05:43:41 -0800 (PST)
Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <oauth@ietf.org> from <lainhart@us.ibm.com>; Fri, 18 Jan 2013 08:43:31 -0500
Received: from d01dlp02.pok.ibm.com (9.56.250.167) by e7.ny.us.ibm.com (192.168.1.107) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 18 Jan 2013 08:43:26 -0500
Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id CFE886E8040; Fri, 18 Jan 2013 08:43:24 -0500 (EST)
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r0IDhPH615073466; Fri, 18 Jan 2013 08:43:25 -0500
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r0IDhPvJ017029; Fri, 18 Jan 2013 08:43:25 -0500
Received: from d01mc255.pok.ibm.com (d01mc255.pok.ibm.com [9.63.10.213]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id r0IDhPtH017009; Fri, 18 Jan 2013 08:43:25 -0500
In-Reply-To: <814E753D-E176-40A2-9208-6A575F46DA99@gmx.net>
References: <OF89C2383F.5888D4B7-ON85257AF6.005D229B-85257AF6.0063BA05@us.ibm.com> <814E753D-E176-40A2-9208-6A575F46DA99@gmx.net>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
MIME-Version: 1.0
X-KeepSent: 5231E27E:C07CA017-85257AF7:004AE118; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.5.3FP2 SHF22 July 19, 2012
Message-ID: <OF5231E27E.C07CA017-ON85257AF7.004AE118-85257AF7.004B6196@us.ibm.com>
From: Todd W Lainhart <lainhart@us.ibm.com>
Date: Fri, 18 Jan 2013 08:43:23 -0500
X-MIMETrack: Serialize by Router on D01MC255/01/M/IBM(Release 8.5.3FP2 ZX853FP2HF4|December 14, 2012) at 01/18/2013 08:43:24, Serialize complete at 01/18/2013 08:43:24
Content-Type: multipart/alternative; boundary="=_alternative 004B619685257AF7_="
X-Content-Scanned: Fidelis XPS MAILER
x-cbid: 13011813-5806-0000-0000-00001E6BB763
Cc: oauth@ietf.org, oauth-bounces@ietf.org
Subject: Re: [OAUTH-WG] error_description USASCII-encoded - is this a difficulty?
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: Fri, 18 Jan 2013 13:43:56 -0000
Hi Hannes - Providing localization support indirectly via the error_uri was the conclusion that we were coming to, so thanks for responding and confirming that. Best wishes -- Todd Todd Lainhart Rational software IBM Corporation 550 King Street, Littleton, MA 01460-1250 1-978-899-4705 2-276-4705 (T/L) lainhart@us.ibm.com From: Hannes Tschofenig <hannes.tschofenig@gmx.net> To: Todd W Lainhart/Lexington/IBM@IBMUS, Cc: Hannes Tschofenig <hannes.tschofenig@gmx.net>, oauth@ietf.org, oauth-bounces@ietf.org Date: 01/18/2013 04:42 AM Subject: Re: [OAUTH-WG] error_description USASCII-encoded - is this a difficulty? Hi Todd, it is important to note that the error_description is not meant to be shown to the end users. That was the reason for not introducing internationalization support. If you want to provide some additional information about the error description in other languages I would suggest to use the error_uri to point the developer to that information. Ciao Hannes On Jan 17, 2013, at 8:09 PM, Todd W Lainhart wrote: > We're working on an OAuth 2.0 AS, with extensions defined for session mgmt. We're trying to adopt uniformly the error reporting mechanism in 6749. > > I'm now realizing that the error_description response in specified to be USASCII. I was assuming that the error message could be UTF-8 encoded, such that I could return error messages in the client's locale. E.G. consider the client credentials grant. The store on the AS holding the registration is down, so I'd like to return a 500 with an error message from the store, from a catalog mapped to the client's language. > > I've wondered about adding an additional response parameter, something like error_description_locale, but thought that there might be better practices out there. I'm also wondering about the USASCII constraint on error_description. I'm a long-time reader of this list, but I'm not recalling the background on this. > > > > > Todd Lainhart > Rational software > IBM Corporation > 550 King Street, Littleton, MA 01460-1250 > 1-978-899-4705 > 2-276-4705 (T/L) > lainhart@us.ibm.com > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth
- [OAUTH-WG] error_description USASCII-encoded - is… Todd W Lainhart
- Re: [OAUTH-WG] error_description USASCII-encoded … Hannes Tschofenig
- Re: [OAUTH-WG] error_description USASCII-encoded … Todd W Lainhart