We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a6960b commit 413ef60Copy full SHA for 413ef60
extensions/microsoft-authentication/src/AADHelper.ts
@@ -525,7 +525,8 @@ export class AzureActiveDirectoryService {
525
onDidChangeSessions.fire({ added: [], removed: [this.convertToSessionSync(token)], changed: [] });
526
}
527
528
- }, 1000 * (token.expiresIn - 30)));
+ // For details on why this is set to 2/3, see https://github.com/microsoft/vscode/issues/133201#issuecomment-966668197
529
+ }, 1000 * (token.expiresIn * 2 / 3)));
530
531
532
this.storeTokenData();
0 commit comments