This commit is contained in:
Konstantin Lepeshenkov 2024-10-05 12:00:50 +02:00
Родитель a80e4e8885
Коммит 6f2613f6fd
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -174,6 +174,7 @@ export class TaskHubsCollector {
private async CreateIdentityBasedAuthHeadersForTableStorage(azureSubscription: AzureSubscription): Promise<{}> { private async CreateIdentityBasedAuthHeadersForTableStorage(azureSubscription: AzureSubscription): Promise<{}> {
// Looks like azureSubscription.credential.getToken(scopes) does not respect scopes (getting a token with default 'https://management.core.windows.net' audience instead of Storage-specific scope) // Looks like azureSubscription.credential.getToken(scopes) does not respect scopes (getting a token with default 'https://management.core.windows.net' audience instead of Storage-specific scope)
// Issue: https://github.com/microsoft/vscode-azuretools/issues/1596
// So will have to use vscode.authentication directly // So will have to use vscode.authentication directly
const providerId = 'microsoft'; const providerId = 'microsoft';