Reputation: 1975
I'm trying to read a document about exposing OAuth permissions but it starts out by saying:
Before you get started, you sould [sic] have a firm understanding of which version(s) of the OAuth protocol your permission should work with.
...and gives the options as
However, the only criteria the documentation gives for figuring out which one you are using is based on the URL to which the client sends requests (e.g. https://login.microsoftonline.com/tenant/oauth2/authorize).
I don't know what URL our application uses for auth, and thus don't know what version it uses. Our UWP app uses the WebAuthenticationCoreManager class to handle authentication. We specify "https://login.microsoft.com" as the AccountProvider and "organizations" as the authority (to the WebAuthenticationCoreManager.FindAccountProviderAsync method). We don't obviously specify an endpoint or protocol version anywhere.
What version are we using?
Upvotes: 1
Views: 220
Reputation: 3237
You'll want to register an Azure AD v1.0 application in the Azure portal.
Here's an excellent code sample that integrates the Web Account Manager into a Windows Universal app.
Upvotes: 1