[OAUTH-WG] Quick question about error response for "response_type=unknown"

nov matake <nov@matake.jp> Mon, 20 February 2012 14:11 UTC

Return-Path: <nov@matake.jp>
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 7C93421F8760 for <oauth@ietfa.amsl.com>; Mon, 20 Feb 2012 06:11:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 lX738f0T1IXb for <oauth@ietfa.amsl.com>; Mon, 20 Feb 2012 06:11:50 -0800 (PST)
Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by ietfa.amsl.com (Postfix) with ESMTP id 05F0D21F8757 for <oauth@ietf.org>; Mon, 20 Feb 2012 06:11:49 -0800 (PST)
Received: by dakl33 with SMTP id l33so6080585dak.31 for <oauth@ietf.org>; Mon, 20 Feb 2012 06:11:49 -0800 (PST)
Received-SPF: pass (google.com: domain of nov@matake.jp designates 10.68.129.73 as permitted sender) client-ip=10.68.129.73;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of nov@matake.jp designates 10.68.129.73 as permitted sender) smtp.mail=nov@matake.jp
Received: from mr.google.com ([10.68.129.73]) by 10.68.129.73 with SMTP id nu9mr26722228pbb.100.1329747109773 (num_hops = 1); Mon, 20 Feb 2012 06:11:49 -0800 (PST)
Received: by 10.68.129.73 with SMTP id nu9mr22840095pbb.100.1329747109730; Mon, 20 Feb 2012 06:11:49 -0800 (PST)
Received: from [192.168.1.103] (q032020.dynamic.ppp.asahi-net.or.jp. [203.181.32.20]) by mx.google.com with ESMTPS id n8sm13297672pbf.22.2012.02.20.06.11.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Feb 2012 06:11:48 -0800 (PST)
From: nov matake <nov@matake.jp>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 20 Feb 2012 23:11:56 +0900
Message-Id: <58932B8B-2DDE-41D6-A91B-5036CC762C00@matake.jp>
To: oauth WG <oauth@ietf.org>
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQkrtVAL8q3If0SS4NpRYBBKg/JMckk1itt20SIw6DdsRRbn5Sbzt72mejjaL9lHxjdDl7vo
Subject: [OAUTH-WG] Quick question about error response for "response_type=unknown"
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: Mon, 20 Feb 2012 14:11:50 -0000

Hi OAuthers,

My apologies if you already discussed this.

When OAuth server received unknown response_type, how should the server handle the error?

1. Show the error to the user without redirecting back to the client
2. Redirect back to the client including the error in query
3. Redirect back to the client including the error in fragment

Since choosing 2 or 3 is impossible in this case, 1 seems reasonable for me.


--
nov