Dec 02 2019 05:05 AM
Hi,
I have application with node.js
I want to call microsoft graph api to get sharepoint list data ,
how do i create authprovider in existant app
Dec 02 2019 10:54 PM - edited Dec 02 2019 10:55 PM
@tejaswini1010 , You need to follow Step 1 to Step 4 form the given link for get Access Token from sharepoint app.
http://pratapreddypilaka.blogspot.com/2018/05/sharepoint-online-authentication-for.html
Once you get the Access Token, you can call the GET API for List with the given access token. Here is the link for calling Share point API.
These samples are in c#, you can use the same logic in node.js.
Hope it helps.