mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Add offline_access to list of default scopes (#157453)
Add a new scope to default scopes
This commit is contained in:
parent
9225503c85
commit
19d0675506
|
@ -184,6 +184,9 @@ export class AzureActiveDirectoryService {
|
|||
if (!modifiedScopes.includes('profile')) {
|
||||
modifiedScopes.push('profile');
|
||||
}
|
||||
if (!modifiedScopes.includes('offline_access')) {
|
||||
modifiedScopes.push('offline_access');
|
||||
}
|
||||
modifiedScopes = modifiedScopes.sort();
|
||||
|
||||
let modifiedScopesStr = modifiedScopes.join(' ');
|
||||
|
|
Loading…
Reference in a new issue