Parth Solanki Parth Solanki - 1 year ago 222
Java Question

Spring Oauth2.0 Missing grant type

I am using Spring Oauth 2.O.

When I pass request as a form-data it works fine, but when I try to pass data in

format it gives me error missing grant type.




Error I getting.

"status": "0",
"message": "Missing grant type"

Please Guide.

Answer Source

OAuth2 doesn't support JSON in the access token request.You can check here for description..It requires application/x-www-form-urlencoded.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download