File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 27
27
var replyUri = 'http://localhost:8081' ; //Where you will receive the token. (step 2.5)
28
28
var logoutRedirectUri = 'http://localhost:8081' ; //Where you return upon signout. Update if you are hosting your webpage somewhere else
29
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.
30
+ var azDevApId = '499b84ac-1321-427f-aa17-267ca6975798' ; //Do not change. Needed to get a Azure DevOps ADAL access token.
31
31
//=====================================================
32
32
33
33
// Set up ADAL
55
55
56
56
// Get an access token to VSTS
57
57
authContext . acquireToken (
58
- vstsResourceId ,
58
+ azDevResourceId ,
59
59
function ( error , token ) {
60
60
if ( error || ! token ) {
61
61
document . getElementById ( 'api_response' ) . textContent =
You can’t perform that action at this time.
0 commit comments