[ 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)