Security Schemes

ms-oauth

IMPORTANT !!!

Works only when client (this html) is served from http://localhost:8080/... because the registered client has a redirect url pointing to http://localhost:8080/examples/oauth-receiver.html

  1. Register an app at https://portal.azure.com/ (this will give you an Application ID / Client ID)
  2. Create some users in MS Active Directory (MS Graph)
  3. Provide permissions to your APP to access MS Graph users
oauth2

authorizationCode

Authorization URL: https://login.microsoftonline.com/546ffd36-88d5-494c-b126-57cc823bb5ea/oauth2/v2.0/authorize
Token URL: https://login.microsoftonline.com/546ffd36-88d5-494c-b126-57cc823bb5ea/oauth2/v2.0/token
Scopes:
  • https://graph.microsoft.com/User.Read.All
    Read logged users data