Warn when auth extension is disabled
See original GitHub issueIssue Type: Bug
- Cmd + P -> “Live Share: Sign in”
- Select “Sign in with Microsoft account”
- Nothing happens for a few seconds
- Get a popup with the following error message: “Signing in: Auth token returned by microsoft provider is empty.”
I never go through any sign in process and vscode does not open a browser window for me to sign in, which leads me to believe that maybe there’s some invalid value stored in the extension context. I have previously been able to use Live Share for months. It only stopped working recently. I have not been able to figure out how I can clear the secret storage for an extension. Reinstalling the extension does not solve the issue, nor does reinstalling vscode itself, presumably because of #123817.
If I do the same thing using Insiders it works, so either there’s a bug that’s been fixed in Insiders without me being able to find any related issue or PR, or I have some messed up state that isn’t shared between Code and Insiders.
EDIT: Indeed, moving ~/Library/Application Support/Code
to another location fixes it, but then I also lose all my settings and such, which is what I’m trying to avoid. How can I delete just the storage for the Microsoft authentication?
VS Code version: Code 1.66.2 (Universal) (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:49:20.994Z) OS version: Darwin x64 21.4.0 Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-9750H CPU @ 2.60GHz (12 x 2600) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled |
Load (avg) | 5, 4, 4 |
Memory (System) | 16.00GB (0.02GB free) |
Process Argv | –crash-reporter-id f07fdb15-d771-43b9-9481-f9f22ad749e3 |
Screen Reader | no |
VM | 0% |
Extensions (6)
Extension | Author (truncated) | Version |
---|---|---|
github-markdown-preview | bie | 0.2.0 |
vscode-eslint | dba | 2.2.2 |
prettier-vscode | esb | 9.5.0 |
vsliveshare | ms- | 1.0.5527 |
vsliveshare-audio | ms- | 0.1.91 |
vsliveshare-pack | ms- | 0.4.0 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebug:30475216
Issue Analytics
- State:
- Created a year ago
- Comments:15 (8 by maintainers)
Top GitHub Comments
nothing interesting in there… two more things to gather info on this issue:
Run the command
Extensions: Show built-in extensions
and look for Microsoft Account in the Features list. If the extension started, it should show a little number like so. Do you see one for that extension?:Can you sign in to Settings Sync using your Microsoft account and see if that works and you’re able to go through the flow ok?
@stgarf-sx since your error message is different, let’s track your issue in a new issue. https://github.com/microsoft/vscode/issues/169152