question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warn when auth extension is disabled

See original GitHub issue

Issue Type: Bug

  1. Cmd + P -> “Live Share: Sign in”
  2. Select “Sign in with Microsoft account”
  3. Nothing happens for a few seconds
  4. 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:open
  • Created a year ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
TylerLeonhardtcommented, Apr 27, 2022

nothing interesting in there… two more things to gather info on this issue:

  1. 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?: image

  2. 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?

0reactions
TylerLeonhardtcommented, Dec 14, 2022

@stgarf-sx since your error message is different, let’s track your issue in a new issue. https://github.com/microsoft/vscode/issues/169152

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft warns Exchange Online basic auth will be disabled
Microsoft warned customers today that it will start disabling Basic Authentication in random tenants worldwide on October 1, 2022.
Read more >
Chrome Extensions: declare permissions and warn users
An extension's ability to access websites and most Chrome APIs is determined by its declared permissions. Permissions should be restricted ...
Read more >
Troubleshoot Authorization Extension - Auth0
Learn how to troubleshoot the Authorization Extension. ... Turn off the persistence settings, delete the existing rule, re-enable the settings, ...
Read more >
SMTP AUTH extension not supported by server - Stack Overflow
It will load the system's trusted CA certificates, enable certificate ... "An Email Alert" msg["From"] = "me@example.com" msg["To"] = "you@example.com" ...
Read more >
Chapter 8. Disabling authentication - Apache Guacamole™
The NoAuth extension still performs authentication, but does not validate any credentials, giving anyone that visits your server access to the same set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found