rest api returns 403
Hi! I changed my architecture and re-installed my environment. Everything seems to be allright but my rest api call, the rest api call from the sitecore server returns 403. Looking at the network trace from the browser, i can see that the call to [sitecore]/coveo/rest/ return 403. I can't find where to look. Can you guide me please?
Support confirmed with the user that the issue was the allow impersonation node in the config.yml. To solve the issue: https://developers.coveo.com/pages/releaseview.action;jsessionid=2424DD89D0C014EEC519E210B8EF98FB?pageId=26443919
I would check the Search API config.yml file. Make sure the application secret match with the value set in the Coveo.SearchProvider.Rest.config in Sitecore.
Also, still in the config.yml file, make sure you have "allowImpersonate: true" for the application that corresponds to Sitecore.
See this page for details regarding those configuration files: https://developers.coveo.com/display/SC201501/Understanding+the+REST+Endpoint+Configuration+Files
Hope this helps