11
votes
Accepted
From where to use TokenHelper class for client context in SharePoint Online?
Just add the NuGet package AppForSharePointOnlineWebToolkit. It will add the TokenHelper.cs and SharePointContext.cs files to your project.
8
votes
Accepted
How to use SharePoint RESTful web services with Node.js?
It depends heavily on your requirements and on the app type you are going to build (web application or just console daemon, azure function, etc.). Does it require user context or not?
Here are the ...
4
votes
Accepted
How to allow authenticated cross-domain calls in an SP 2016 on-prem scenario?
Evantually we successfully used the URL Rewrite module, evaluating and inserting CORS headers when requests come in. This is happening outside SharePoint, as part of IIS request processing.
4
votes
From where to use TokenHelper class for client context in SharePoint Online?
Make Sure that you installed Office developer Tools and SharePoint Server 2013 Client Components SDK
We don't need any external Reference for the SharePointContext.cs and TokenHelper.cs files. ...
3
votes
Oauth Authentication for SharePoint REST API
As of this moment, access to SharePoint endpoint via Graph API is possible only through the beta endpoint.
Your URL should be as below:
https://graph.microsoft.com/beta/sites/tenantname.sharepoint....
3
votes
Accepted
How safe is SharePoint Online (Office 365) login?
From a home/personal Office 365 stand point, yes it would be similar to any other internet service that if your password is compromised, then someone can get into your tenant.
However, any business ...
2
votes
OAuth Authentication and Authorization to REST API from a Node.js Javascript program
For those who are still looking for the answer - consider sp-request nodejs module.
It allows you to perform OAuth client credentials grant (in different terminilogy it's also called addin-only ...
1
vote
Accepted
External API compatibility with Custom connectors
Implicit Grant and Client Credentials Grant flows cannot be used to authenticate Custom Connectors.
"Note that only Authorization Code Grant flows and On-Behalf-Of flows support refresh tokens (...
1
vote
External API compatibility with Custom connectors
I asked the same questions months ago, and i found that the article of Wael Kdouh is very useful and detailed.
You will find all the required details you need in order to build your custom connector ...
1
vote
Token based authentication in Sharepoint 2016
To access SharePoint 2016 Rest API through Postman, below are the steps:
Step 1 – Get your SharePoint site’s FormDigest using Contextinfo call
In Postman, the contextinfo endpoint URL for your ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
oauth × 71sharepoint-online × 29
sharepoint-addin × 16
authentication × 13
2013 × 9
rest × 9
office-365 × 8
sharepoint-rest-api × 7
sharepoint-server × 5
csom × 5
provider-hosted-app × 5
azure × 4
authorization × 4
token × 4
web-services × 3
azure-ad × 3
nodejs × 3
multi-tenancy × 3
sharepoint-enterprise × 2
javascript × 2
client-object-model × 2
spfx × 2
2016 × 2
sharepoint-on-prem × 2
microsoft-graph × 2