Installed only spring oauth2 security in my eclipse environment. The service trying to implement will be consumed by third-party users through installed applications, so I decided to use the type of password provision. According to my understanding of Oauth2, the following request should work for the demo sparklr2 service without the need for me to specify username and password parameters. i.e
POST http://localhost:8080/sparklr2/oauth/token?grant_type=password&client_id=my-trusted-client&scope=trust&username=marissa&password=koala
but i keep getting
<oauth>
<error_description>
Full authentication is required to access this resource
</error_description>
<error>unauthorized</error>
</oauth>
Am I missing something in this request or do I need to include something in the repo
source
share