mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
make sure we add offline_access when creating sessions (#159116)
This commit is contained in:
committed by
GitHub
parent
ce88761cd7
commit
dc9336c303
@@ -259,6 +259,9 @@ export class AzureActiveDirectoryService {
|
||||
if (!scopes.includes('profile')) {
|
||||
scopes.push('profile');
|
||||
}
|
||||
if (!scopes.includes('offline_access')) {
|
||||
scopes.push('offline_access');
|
||||
}
|
||||
scopes = scopes.sort();
|
||||
const scopeData: IScopeData = {
|
||||
scopes,
|
||||
|
||||
Reference in New Issue
Block a user