Add offline_access to list of default scopes (#157453)

Add a new scope to default scopes
This commit is contained in:
ChaseKnowlden 2022-08-08 17:55:13 -04:00 committed by GitHub
parent 9225503c85
commit 19d0675506
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(' ');