On Premise Search Token Authentication with sharepoint claims
I'm trying to initialize the On Premise Search token authentication following the steps in the https://developers.coveo.com/display/public/SearchREST/On-Premises+Search+Token+Authentication.
Facing a couple of issues at this point:
The preflight request to the /search/token endpoint fails. I see the following the browser console: OPTIONS https://…./rest/search/token net::ERRCONNECTIONTIMED_OUT I understand that this is a CORS issue and if I set the origin to the domain, it'll work. Is this correct?
Since, I was not getting the token as above, I used postman to get a search token. However, when I try to initialize with the token, it still asks me for the windows credentials. This is because I have set the windowsAuthentication enabled:true in the config.yml. Do I need to keep this if I want to use the SharepointUnderClaims?