Tridion 2011 SP1 OData Web Service
After following the install guide and unzipping the webservice.zip, copying the JDBC driver and config XMLs, when I try and access in a browser I see:
{"error":"invalid_grant"}
A bit of digging suggests this is something to do with OAuth. Any ideas?
Solution 1:
By default the OAuth security is enabled for the web services requests. You need to disable the security in cd_ambient_conf.xml file by commenting out the Security xml node section.
<!--
<Security>
<RequestValidator>com.tridion.webservices.security.validator.OAuth2RequestValidator</RequestValidator>
<SharedSecret>sample_passphrase</SharedSecret>
</Security>
-->
Solution 2:
That suggests that the request was made with an invalid token (or perhaps no token at all?).