Spring Oauth2.0 Missing grant type

前端 未结 1 1383
暗喜
暗喜 2020-12-17 17:38

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

相关标签:
1条回答
  • 2020-12-17 18:19

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

    0 讨论(0)
提交回复
热议问题