8

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?

Neil
  • 551

2 Answers2

7

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>
-->
Ram G
  • 231
4

That suggests that the request was made with an invalid token (or perhaps no token at all?).