Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No authentication provider 'microsoft' is currently registered. #107923

Closed
larryosborn opened this issue Oct 1, 2020 · 5 comments
Closed

No authentication provider 'microsoft' is currently registered. #107923

larryosborn opened this issue Oct 1, 2020 · 5 comments
Assignees

Comments

@larryosborn
Copy link

  • VSCode Version: 1.50.0-insider
  • OS Version: MacOS 10.15

Steps to Reproduce:

  1. The error happens randomly during normal code editing. Extensions host quits unexpectedly. I have two identical macs and only one has this issue.

Does this issue occur when all extensions are disabled?: Yes

The developer console has the following output:

ERR No authentication provider 'microsoft' is currently registered.: Error: No authentication provider 'microsoft' is currently registered.
    at E.getSessions (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4461:744)
    at async e.getAccounts (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6116:153)
    at async e.update (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6115:899)
Extension host terminated unexpectedly. Code:  0  Signal:  null
_onExtensionHostCrashed @ abstractExtensionService.ts:424
log.ts:197   
ERR Extension host terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, ms-vscode.js-debug, vscode.debug-auto-launch, vscode.emmet, vscode.git, vscode.merge-conflict, vscode.search-result, vscode.npm, vscode.github-authentication, vscode.github, vscode.configuration-editing, vscode.extension-editing, vscode.json-language-features, vscodevim.vim, vscode.typescript-language-features, vscode.html-language-features
notificationsAlerts.ts:40 Extension host terminated unexpectedly.
onDidChangeNotification @ notificationsAlerts.ts:25
log.ts:197   
ERR No authentication provider 'microsoft' is currently registered.: Error: No authentication provider 'microsoft' is currently registered.
    at E.getSessions (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4461:744)
    at async e.getAccounts (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6116:153)
    at async e.update (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6115:899)
@larryosborn
Copy link
Author

If there's any workarounds, I'd love to try them. I've deleted my .vscode directory, reinstalled, deleted vscode entries from my KeyChain.

@RMacfarlane
Copy link
Contributor

This looks like a duplicate of #106321, which has been fixed but not released. In the meantime, can you try removing the cached credentials from the keychain by opening "Keychain Access" and deleting the entry for "vscode-insiders-microsoft.login"?

@RMacfarlane
Copy link
Contributor

Actually, scratch that - this should already be in insiders. Can you open the output panel and paste what's in the logs for "Microsoft Authentication", and also "Log (Settings Sync)"?

@larryosborn
Copy link
Author

Microsoft Authentication:

Output for this is empty.

GitHub Authentication:

Output for this is empty.

Log (Settings Sync):

This output repeats with the following:

[2020-10-05 15:26:32.199] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-10-05 15:26:32.282] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-10-05 15:26:32.284] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-10-05 15:26:32.285] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-10-05 15:26:32.290] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-10-05 15:26:32.330] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-10-05 15:26:32.332] [userDataSync] [info] Sync done. Took 53ms

@larryosborn
Copy link
Author

For what it's worth, I have not seen these errors since a system update and vscode update. I think the gremlins have moved on. I can no longer reproduce the issue. 🤷‍♂️

@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants