sharepoint-token-helper

1.0.1 • Public • Published

The ideia here will be

Create TokenHelper.js and SharePointContext.js

Based in these files base/TokenHelper.cs and base/SharePointContext.cs

Setup

  1. Go to /_layouts/15/AppRegNew.aspx and register a new application

  2. Create a SharePoint App Provider hosted and delete the MVC project

  3. Open AppManifest.xml

<RemoteWebApplication ClientId="{{app_client_id}}" />
<RemoteEndpoints>
  <RemoteEndpoint Url="https://localhost:3030" />
</RemoteEndpoints>
  1. Create File config.js and them put the client_id and appSecret
module.exports = {
    client_ID:"{{clientID}}",
    appSecret:'{{appSecret}}'
}

TODO

Tests More Features

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1

Package Sidebar

Install

npm i sharepoint-token-helper

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • mauricionr