I'm developing a Windows 10 application for my company that runs on the client machine.

The app needs to make REST requests for our SP Server to get some information but as I have seen, I need an access token for the "Bearer" header of the request...

The SharePoint Server 2013 runs on our servers, and I have no idea how to get this bearer token...

Can anyone point me in the right direction?

I know it has something to do with OAuth but I can`t get to see how to configure our SP Server and my app for this!

I`m really stuck on this, any help would be greatly appreciated! Thanks!

  • 1
    check this once social.msdn.microsoft.com/Forums/en-US/… – TARUN Apr 11 '18 at 12:27
  • In a book, i read that you have to register the app under /_layouts/15/appregnew.aspx however, the registration requires an app domain.. Since my app is not hosted in any domain, what value should I give? – rdnobrega Apr 11 '18 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.