Skip to content

Commit 8c4a26f

Browse files
Update README.md
1 parent db1117b commit 8c4a26f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

OAuthWebSample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ASP.NET web app (Azure DevOps OAuth sample)
22

3-
This sample shows how to prompt a user to authorize a cloud service that can call APIs on Visual Studio Team Services on behalf of the user.
3+
This sample shows how to prompt a user to authorize a cloud service that can call APIs on Azure DevOps on behalf of the user.
44

55
To learn more about OAuth in Azure DevOps, see [Authorize access to Azure DevOps with OAuth 2.0](https://docs.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=vsts)
66

77
## How to setup
88

99
> These instructions assume you will be deploying this sample app to an Azure web app. To learn more and to get started, visit [Get started with Azure Web Apps and ASP.NET](https://docs.microsoft.com/azure/app-service/app-service-web-get-started-dotnet-framework).
1010
11-
1. Register an OAuth client app in Visual Studio Team Services (https://app.vsaex.visualstudio.com/app/register)
11+
1. Register an OAuth client app in Azure DevOps (https://app.vsaex.visualstudio.com/app/register)
1212
* The callback URL should be https://yoursite.azurewebsites.net/oauth/callback, where `yoursite` is the name of your Azure web app
1313

1414
2. Clone this repository and open the solution `OAuthWebSample\OAuthWebSample.sln` in Visual Studio 2015 or later
@@ -38,7 +38,7 @@ To learn more about OAuth in Azure DevOps, see [Authorize access to Azure DevOps
3838

3939
If everything is setup properly, Azure DevOps will issue an access token and refresh token and both values will be displayed. **You should keep these values secret**. Also a new authorization will appear in [your profile page](https://app.vssps.visualstudio.com/Profile/View).
4040

41-
With the access token you can invoke [Visual Studio Team Services REST APIs](https://www.visualstudio.com/docs/integrate/api/overview) by providing the access token in the Authorization header.
41+
With the access token you can invoke [Azure DevOps REST APIs](https://docs.microsoft.com/en-us/rest/api/vsts/?view=vsts-rest-4.1) by providing the access token in the Authorization header.
4242

4343
```
4444
Authorization: Bearer {access token}

0 commit comments

Comments
 (0)