From dev-return-2521-apmail-oltu-dev-archive=oltu.apache.org@oltu.apache.org Mon Sep 14 11:11:46 2015 Return-Path: X-Original-To: apmail-oltu-dev-archive@www.apache.org Delivered-To: apmail-oltu-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4211218813 for ; Mon, 14 Sep 2015 11:11:46 +0000 (UTC) Received: (qmail 68492 invoked by uid 500); 14 Sep 2015 11:11:46 -0000 Delivered-To: apmail-oltu-dev-archive@oltu.apache.org Received: (qmail 68453 invoked by uid 500); 14 Sep 2015 11:11:46 -0000 Mailing-List: contact dev-help@oltu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oltu.apache.org Delivered-To: mailing list dev@oltu.apache.org Received: (qmail 68435 invoked by uid 99); 14 Sep 2015 11:11:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2015 11:11:46 +0000 Date: Mon, 14 Sep 2015 11:11:46 +0000 (UTC) From: "Antonio Sanso (JIRA)" To: dev@oltu.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OLTU-109) OAuthTokenRequest unnecessarily requires the "redirect_uri" parameter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OLTU-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743374#comment-14743374 ] Antonio Sanso commented on OLTU-109: ------------------------------------ bq. Not sure why this check is required at all in the spec though, but that is another question. [~rikardswahn] This is one reason why http://intothesymmetry.blogspot.ch/2015_01_01_archive.html > OAuthTokenRequest unnecessarily requires the "redirect_uri" parameter > --------------------------------------------------------------------- > > Key: OLTU-109 > URL: https://issues.apache.org/jira/browse/OLTU-109 > Project: Apache Oltu > Issue Type: Bug > Components: oauth2-authzserver > Affects Versions: oauth2-0.22 > Environment: Authorization Server > Reporter: John Jenkins > Fix For: oauth2-0.31 > > > The OAuthTokenRequest(HttpServletRequest) constructor will inappropriately fail if the "redirect_uri" parameter is missing. This is only required if the "redirect_uri" was given in the previous, "code" request. From the specification (section 4.1.3): > redirect_uri > REQUIRED, if the "redirect_uri" parameter was included in the > authorization request as described in Section 4.1.1, and their > values MUST be identical. -- This message was sent by Atlassian JIRA (v6.3.4#6332)