mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 23:07:09 -05:00
signin using web auth provider always (#179838)
This commit is contained in:
committed by
GitHub
parent
c9df8ee8e8
commit
213f4fa39d
@@ -578,7 +578,11 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
|
||||
sessionId = (await this.authenticationService.createSession(accountOrAuthProvider.id, accountOrAuthProvider.scopes)).id;
|
||||
}
|
||||
} else {
|
||||
sessionId = accountOrAuthProvider.sessionId;
|
||||
if (this.environmentService.options?.settingsSyncOptions?.authenticationProvider?.id === accountOrAuthProvider.authenticationProviderId) {
|
||||
sessionId = await this.environmentService.options?.settingsSyncOptions?.authenticationProvider?.signIn();
|
||||
} else {
|
||||
sessionId = accountOrAuthProvider.sessionId;
|
||||
}
|
||||
}
|
||||
this.currentSessionId = sessionId;
|
||||
await this.update();
|
||||
|
||||
Reference in New Issue
Block a user