You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OAuthWebSample/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# ASP.NET web app (VSTS OAuth sample)
1
+
# ASP.NET web app (Azure DevOps OAuth sample)
2
2
3
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.
4
4
5
-
To learn more about OAuth in Visual Studio Team Services, see [Authorize access to VSTS with OAuth 2.0](https://docs.microsoft.com/vsts/integrate/get-started/authentication/oauth?view=vsts)
5
+
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)
6
6
7
7
## How to setup
8
8
@@ -15,7 +15,7 @@ To learn more about OAuth in Visual Studio Team Services, see [Authorize access
15
15
16
16
3. Update the following settings in web.config to match the values in the app you just registered:
17
17
*`ClientAppID`
18
-
*`ClientAppSecret` (use the "Client Secret" shown on the VSTS Application Settings page, not the App Secret)
18
+
*`ClientAppSecret` (use the "Client Secret" shown on the Azure DevOps Application Settings page, not the App Secret)
19
19
*`Scope` (space separated)
20
20
*`CallbackUrl`
21
21
@@ -32,11 +32,11 @@ To learn more about OAuth in Visual Studio Team Services, see [Authorize access
32
32
33
33
3. Click **Authorize**
34
34
35
-
4. Sign in to Visual Studio Team Services (if prompted)
35
+
4. Sign in to Azure DevOps (if prompted)
36
36
37
37
5. Review and accept the authorization request
38
38
39
-
If everything is setup properly, Visual Studio Team Services 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).
39
+
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).
40
40
41
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.
0 commit comments