client_id
handy, as you will need it in the next step.
https://{your Office365 tenant}.sharepoint.com/_layouts/15/appregnew.aspx
connection
is just the name you will use in Auth0’s connections (such as “sharepoint”).client_id
identifies your app in Auth0 (created in steps 1).redirect_uri
is the location in your actual app, where your users will land eventually after all negotiations complete. If you don’t specify it, it will always be the app’s callback URL defined in Auth0 (it could be localhost)Query string
will be exactly like the Redirect URI
you completed before. Then right-click on the project and select Publish
:
Create a Publishing Profile (you will have to enter the same Client Id & Client Secret obtained in the SharePoint dashboard).
Click on Package and upload the resulting file to SharePoint.
Connection Name
. This is an arbitrary name. It has to match with what you entered in step 2.Client Id
& Client Secret
. Also need to match what you entered in step 2.Test SharePoint Site Url
. This is the SP site URL used to test the connection. (such as when pressing the ‘Try’ button on the dashboard). This is never used at runtime because users will always follow the link to your site from within SharePoint.User Profile
that will look like this:
cacheKey
, refresh_token
, host
, and site
. These will allow you to call back SharePoint APIs (such as lists).