make sure we add offline_access when creating sessions (#159116)

This commit is contained in:
Tyler James Leonhardt
2022-08-25 05:48:01 -07:00
committed by GitHub
parent ce88761cd7
commit dc9336c303

View File

@@ -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,