Skip to content

Commit f1dcdf4

Browse files
Update index.html
1 parent a4de5c2 commit f1dcdf4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

JavascriptWebAppSample/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323

2424
<script type="text/javascript">
2525
//========= Input Vars ================================
26-
var clientId = 'xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; //Update with your app registration's Application ID (step 2.6)
27-
var replyUri = 'http://localhost:8081'; //Where you will receive the token. (step 2.5)
28-
var logoutRedirectUri = 'http://localhost:8081'; //Where you return upon signout. Update if you are hosting your webpage somewhere else
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 Azure DevOps ADAL access token.
26+
var clientId = 'xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; //Update with your app registration's Application ID (step 2.6)
27+
var replyUri = 'http://localhost:8081'; //Where you will receive the token. (step 2.5)
28+
var logoutRedirectUri = 'http://localhost:8081'; //Where you return upon signout. Update if you are hosting your webpage somewhere else
29+
var azureDevOpsApi = 'https://dev.azure.com/organization/_apis/projects?api-version=4.0'; //Update if want to access a different vsts API
30+
var azureDevOpsAppId = '499b84ac-1321-427f-aa17-267ca6975798'; //Do not change. Needed to get a Azure DevOps ADAL access token.
3131
//=====================================================
3232

3333
// Set up ADAL
@@ -55,7 +55,7 @@
5555

5656
// Get an access token to VSTS
5757
authContext.acquireToken(
58-
azDevResourceId,
58+
azureDevOpsResourceId,
5959
function (error, token) {
6060
if (error || !token) {
6161
document.getElementById('api_response').textContent =

0 commit comments

Comments
 (0)