SpringSecurityOAuth2 login Miss grant type problem

The Miss grant type problem occurs when Spring Security OAuth2 logs in and passes values

The solution is: add in the header

'Content-Type': 'application/x-www-form-urlencoded'
{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324079509&siteId=291194637