Added Azure Devops Scopes to scm api

Signed-off-by: Phill Morton <phill.morton@theaccessgroup.com>
This commit is contained in:
Phill Morton
2024-02-15 18:17:15 +00:00
parent ecf1a6d91e
commit b38dc5591a
2 changed files with 11 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/integration-react': patch
---
Updated azure devops scopes to include the clientid for Azure Dev Ops OAuth.
@@ -199,13 +199,13 @@ export class ScmAuth implements ScmAuthApi {
const host = options?.host ?? 'dev.azure.com';
return new ScmAuth('azure', microsoftAuthApi, host, {
default: [
'vso.build',
'vso.code',
'vso.graph',
'vso.project',
'vso.profile',
'499b84ac-1321-427f-aa17-267ca6975798/vso.build',
'499b84ac-1321-427f-aa17-267ca6975798/vso.code',
'499b84ac-1321-427f-aa17-267ca6975798/vso.graph',
'499b84ac-1321-427f-aa17-267ca6975798/vso.project',
'499b84ac-1321-427f-aa17-267ca6975798/vso.profile',
],
repoWrite: ['vso.code_manage'],
repoWrite: ['499b84ac-1321-427f-aa17-267ca6975798/vso.code_manage'],
});
}