File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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
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 =
You can’t perform that action at this time.
0 commit comments