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 application/json format it gives me error
application/json
OAuth2 doesn't support JSON in the access token request.You can check here for description..It requires application/x-www-form-urlencoded
OAuth2
JSON
application/x-www-form-urlencoded