-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
authenticationIssues with the Authentication platformIssues with the Authentication platformbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
Consider this line:
vscode/src/vs/workbench/services/authentication/browser/authenticationService.ts
Line 616 in ce15e23
| const scopesList = scopes.join(''); |
Suppose an extension runs this code:
const session1 = await vscode.authentication.getSession('myProvider', ['A', 'BC'], {createIfNone: false});
const session2 = await vscode.authentication.getSession('myProvider', ['AB', 'C'], {createIfNone: false});The Account icon badge will report only 1 login request.
A potential solution might be to change the line to be:
const scopesList = JSON.stringify(scopes);Metadata
Metadata
Assignees
Labels
authenticationIssues with the Authentication platformIssues with the Authentication platformbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded