Try to revoke tokens that are getting deleted

Best effort.

Fixes https://github.com/microsoft/vscode/issues/152055
This commit is contained in:
Tyler Leonhardt
2023-07-17 14:12:10 -07:00
parent c59a7a21f7
commit ac27273e48
7 changed files with 85 additions and 3 deletions
@@ -363,6 +363,7 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
sessions.splice(sessionIndex, 1);
await this.storeSessions(sessions);
await this._githubServer.logout(session);
this._sessionChangeEmitter.fire({ added: [], removed: [session], changed: [] });
} else {