You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oltu.apache.org by Anders <in...@gmail.com> on 2016/07/18 08:51:03 UTC
[Resource Owner Password Credentials Grant] Can't get parameter in
http request body
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