Spring security SpringOAuth2服务器返回一个错误,说;访问此资源需要完全身份验证”;401

Spring security SpringOAuth2服务器返回一个错误,说;访问此资源需要完全身份验证”;401,spring-security,oauth-2.0,Spring Security,Oauth 2.0,我的curl命令工作正常,但唯一的问题是postman的“post-METHOD”请求 curl: curl act_client@localhost:8089/oauth/token -d grant_type=password -d username=jack -d password=act123 postman: http://localhost:8089/oauth/token?client_id=act_client&grant_type=password&user

我的curl命令工作正常,但唯一的问题是postman的“post-METHOD”请求

curl: curl act_client@localhost:8089/oauth/token -d grant_type=password -d  username=jack -d password=act123

postman: http://localhost:8089/oauth/token?client_id=act_client&grant_type=password&username=jack&password=act123