Azure DevOps OAuth Client Sample

This app shows how to authorize a user to authorize an app and then to request an access token to access Azure DevOps on their behalf.

Authorize »


Before you start, make sure to:

  1. Register a client app with Azure DevOps
  2. Update the web.config of this web app and set the App ID, Scope, App Secret, and Callback URL set in the registered app. The callback URL should be https://site/oauth/callback
    • App ID: CBA114E0-02A7-44CC-9D65-2DB588B58DBE
    • Scope: vso.profile
    • Callback URL:

Learn about auth in Azure DevOps

Azure DevOps supports authorization via OAuth 2.0. Learn more about how you can develop apps that securely access your user's Azure DevOps projects and perform tasks on their behalf.

Learn more »