Need your help Looking for a jQuery example of how to pass authToken and bind autocomplete to https://graph.microsoft.com/v1.0/me/people/?$search=(?)
1 Answer, 1 is accepted
0
Ivan Danchev
Telerik team
answered on 12 May 2020, 12:53 PM
Hello Ryan,
We don't have an example of binding to MS Graph People, but let me provide some details on how the AutoComplete and its dataSource work in a remote binding scenario.
The AutoComplete's dataSource sends an AJAX request to the end point to get data. Since this is a standard AJAX request you can use the request's settings: https://api.jquery.com/jquery.ajax/ to pass an Authorization token. This can be done with the beforeSend callback, e.g.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.