|
1 | 1 | @{
|
2 |
| - ViewBag.Title = "Visual Studio Online OAuth Client Sample"; |
| 2 | + ViewBag.Title = "Azure DevOps OAuth Client Sample"; |
3 | 3 |
|
4 | 4 | var missingMsg = "Not set - update web.config";
|
5 | 5 | var clientAppIdVal = !String.IsNullOrEmpty(ViewBag.ClientAppId) ? ViewBag.ClientAppId : missingMsg;
|
|
10 | 10 |
|
11 | 11 |
|
12 | 12 | <div class="jumbotron">
|
13 |
| - <h1>Visual Studio Online OAuth Client Sample</h1> |
14 |
| - <p class="lead">This app shows how to authorize a user to authorize an app and then to request an access token to access Visual Studio Online on their behalf.</p> |
| 13 | + <h1>Azure DevOps OAuth Client Sample</h1> |
| 14 | + <p class="lead">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.</p> |
15 | 15 | <p><a href="/oauth/requesttoken" class="btn btn-primary btn-large" >Authorize »</a></p>
|
16 | 16 | </div>
|
17 | 17 |
|
|
21 | 21 | <p>
|
22 | 22 | Before you start, make sure to:
|
23 | 23 | <ol>
|
24 |
| - <li><a href="https://app.vsaex.visualstudio.com/app/register">Register</a> a client app with Visual Studio Online</li> |
| 24 | + <li><a href="https://app.vsaex.visualstudio.com/app/register">Register</a> a client app with Azure DevOps</li> |
25 | 25 | <li>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://<i>site</i>/oauth/callback
|
26 | 26 | <ul>
|
27 | 27 | <li>App ID: <strong>@clientAppIdVal</strong></li>
|
|
33 | 33 | </p>
|
34 | 34 | </div>
|
35 | 35 | <div class="col-md-4">
|
36 |
| - <h2>Learn about auth in Visual Studio Online</h2> |
37 |
| - <p>Visual Studio Online support authorization via OAuth 2.0. Learn more about how you can develop apps that securely access your user's Visual Studio Online projects and perform tasks on their behalf.</p> |
38 |
| - <p><a class="btn btn-default" href="http://www.visualstudio.com/integrate/get-started/get-started-auth-oauth2-vsi">Learn more »</a></p> |
| 36 | + <h2>Learn about auth in Azure DevOps</h2> |
| 37 | + <p>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.</p> |
| 38 | + <p><a class="btn btn-default" href="https://docs.microsoft.com/en-us/vsts/integrate/get-started/authentication/oauth?view=vsts">Learn more »</a></p> |
39 | 39 | </div>
|
40 | 40 | </div>
|
0 commit comments