1
votes

I'm trying to use the following guide to authenticate my (java) app to an internally hosted Sharepoint 2013 site: https://msdn.microsoft.com/en-us/library/jj687470.aspx

I've already registered the app and have the client ID and secret. Unfortunately, this method relies heavily on TokenHelper.cs (or .vb), but I'm unable to find a java equivalent that either Microsoft or a 3rd party developer has written.

Any help pointing me in the right direction would be appreciated!

1

1 Answers

0
votes

Use the Active Directory Authentication Library. Instructions and libraries are available here.

Personally I have used the Android library, and I can say that it works like a charm.