刚刚在我的eclipse IDE中安装了spring security oauth2.我试图实现的服务将由第二方用户通过其安装的应用程序使用,因此我选择使用密码授予类型.根据我对Oauth2的理解,以下请求应该适用于演示sparklr2服务,而无需我使用用户名和密码参数.即
POST http://localhost:8080/sparklr2/oauth/token?grant_type=password&client_id=my-trusted-client&scope=trust&username=marissa&password=koala
但我一直在
Full authentication is required to access this resource unauthorized
我在这个请求中遗漏了什么,或者我需要在回购中启用一些东西