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 34CFF183B0 for ; Mon, 14 Sep 2015 09:19:46 +0000 (UTC) Received: (qmail 6287 invoked by uid 500); 14 Sep 2015 09:19:46 -0000 Delivered-To: apmail-oltu-dev-archive@oltu.apache.org Received: (qmail 6254 invoked by uid 500); 14 Sep 2015 09:19: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 6239 invoked by uid 99); 14 Sep 2015 09:19: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 09:19:46 +0000 Date: Mon, 14 Sep 2015 09:19:46 +0000 (UTC) From: "Antonio Sanso (JIRA)" To: dev@oltu.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OLTU-163) GrantType password and Missing parameters: client_secret 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-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743213#comment-14743213 ] Antonio Sanso commented on OLTU-163: ------------------------------------ [~rikard] I respectfully disagree... why do you think is so ? In the spec example {code} POST /token HTTP/1.1 Host: server.example.com Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW Content-Type: application/x-www-form-urlencoded grant_type=password&username=johndoe&password=A3ddj3w {code} the client secret is passed in here {{Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW}} > GrantType password and Missing parameters: client_secret > -------------------------------------------------------- > > Key: OLTU-163 > URL: https://issues.apache.org/jira/browse/OLTU-163 > Project: Apache Oltu > Issue Type: Bug > Components: oauth2-authzserver > Affects Versions: oauth2-1.0.0 > Environment: JBOSS 8 (wildfly) > JDK 1.7 > Reporter: alizarion > Priority: Minor > > when i try to parse request with grant_type=password and there is no client_secret, OAuthTokenRequest throw Missing parameters. > client_secret is not required for a GrantType password > https://tools.ietf.org/html/rfc6749#section-4.3.2 -- This message was sent by Atlassian JIRA (v6.3.4#6332)