Skip to content

Commit 27da3fe

Browse files
Update index.html
1 parent 1378585 commit 27da3fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

JavascriptWebAppSample/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>VSTS Autentication ADAL.JS Sample</title>
4+
<title>Azure DevOps Autentication ADAL.JS Sample</title>
55
<meta charset="utf-8" />
66
<style type="text/css">body { font-family: Tahoma; padding: 3em; } </style>
77
<script src="https://secure.aadcdn.microsoftonline-p.com/lib/1.0.11/js/adal.min.js"></script>
88
</head>
99
<body>
1010
<p>
11-
VSTS Authentication - ADAL.JS Sample
11+
Azure DevOps Authentication - ADAL.JS Sample
1212
</p>
1313
<p>
1414
<a href="#" onclick="loginButtonPress();">
@@ -26,8 +26,8 @@
2626
var clientId = 'xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; //Update with your app registration's Application ID (step 2.6)
2727
var replyUri = 'http://localhost:8081'; //Where you will receive the token. (step 2.5)
2828
var logoutRedirectUri = 'http://localhost:8081'; //Where you return upon signout. Update if you are hosting your webpage somewhere else
29-
var vstsApi = 'https://myaccount.visualstudio.com/_apis/projects?api-version=2.0'; //Update if want to access a different vsts API
30-
var vstsResourceId = '499b84ac-1321-427f-aa17-267ca6975798'; //Do not change. Needed to get a VSTS ADAL access token.
29+
var azDevApi = 'https://dev.azure.com/myaccount/_apis/projects?api-version=2.0'; //Update if want to access a different vsts API
30+
var azDevApId = '499b84ac-1321-427f-aa17-267ca6975798'; //Do not change. Needed to get a VSTS ADAL access token.
3131
//=====================================================
3232

3333
// Set up ADAL
@@ -112,4 +112,4 @@
112112
}
113113
</script>
114114
</body>
115-
</html>
115+
</html>

0 commit comments

Comments
 (0)