Skip to content

Commit

Permalink
Use new app ID for OSS portal
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr committed May 23, 2024
1 parent dc306c5 commit bca2079
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eng/common/scripts/Helpers/Metadata-Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Generate-AadToken ($TenantId, $ClientId, $ClientSecret)
"grant_type" = "client_credentials"
"client_id" = $ClientId
"client_secret" = $ClientSecret
"resource" = "api://2789159d-8d8b-4d13-b90b-ca29c1707afd"
"resource" = "api://66b6ea26-954d-4b68-8f48-71e3faec7ad1"
}
Write-Host "Generating aad token..."
$resp = Invoke-RestMethod $LoginAPIBaseURI -Method 'POST' -Headers $headers -Body $body
Expand Down
2 changes: 1 addition & 1 deletion tools/identity-resolution/Helpers/GitHubToAADConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private async Task<UserLink[]> GetPeopleLinksAsync()
try
{
// This is aad scope of opensource rest API.
string[] scopes = new [] { "api://2789159d-8d8b-4d13-b90b-ca29c1707afd/.default" };
string[] scopes = new [] { "api://66b6ea26-954d-4b68-8f48-71e3faec7ad1/.default" };
opsAuthToken = await credential.GetTokenAsync(new TokenRequestContext(scopes), CancellationToken.None);
}
catch (Exception ex)
Expand Down

0 comments on commit bca2079

Please sign in to comment.