We've got the JS search UI up and running on an on-prem test index. The JS UI is on the same server as the index, but I'm unclear as to how to add the SharePoint Online security provider, and prompt users to login.
With .Net this is a simple config change, but I don't see any documentation for that functionality in the JS developers area.
Any help here would be great.
Here is the docuementation page about sharepoint and claims authentification :
I'm not aware that we ever integrated the JS UI / REST API combo with SP Online authentication. You are right that the documentation on developers.coveo.com concerns on-premises SharePoint. I don't think we've ever integrated the JS UI authentication with SP Online auth as of now.
I've asked a few questions internally to try and figure out exactly what processes are involved when dealing with SP Online, as I'm in no way an expert on that particular topic. The REST API does support quite a large range of ways to authenticate users (some requiring custom code), and there might be a simple way to make it work, but I can't have a definitive answer until I learn a little more about the internals.
I'll update here once I get more information.
This question has been opened for a while but we did found a way to use SharePoint Online with the JSUI/REST API.
The key to it, and the first step to this solution, is to use the new Claims-to-emails security provider
Your user will then be mapped using the Active Directory Security Provider.
You can then use Windows Authentication (not SharePoint, since it is only used for On-Premise) on your Search page.