Forum Discussion
tejaswini1010
Dec 02, 2019Copper Contributor
How do i create authprovider in exisitance .node js project
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
- subhasish-MSFTMicrosoft
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.