oltu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders <innocentl...@gmail.com>
Subject [Resource Owner Password Credentials Grant] Can't get parameter in http request body
Date Mon, 18 Jul 2016 08:51:03 GMT
Hi,

According to RFC6749 4.3.2
<https://tools.ietf.org/html/rfc6749#section-4.3.2>,
[image: Inline image 1]
It says adding parameters in the HTTP request entity-body.

The problem is, for example, if I put grant_type in query string, like "
http://my.company.com/oauth/token?grant_type=password", I can get value via
OAuthTokenRequest.getGrantType().

But if I put grant_type in request body, oltu tells me missing grant_type
parameter.

I tried two http client for testing, SoapUI and Postman (chrome apps).
And I using jersey-spring3 version 2.22.1 and oltu version 1.0.2 to build
my oauth server.

Is anything wrong with my understanding about the RFC spec?
Any comments are welcome.

Thank you.
-- 

Anderson

Mime
View raw message