馃悰 Describe the bug
A clear and concise description of what the bug is. You are always welcome to check the Troubleshooting section before filing the ticket.
I've 2 github accounts. I've logged in to my company provided github account on default web browser Safari. However, I've also logged in to my personal Github account on non-default Chrome browser.
So after my 'Login with Github' is successful on Chrome, I get a blank screen on VSCode saying _'Select your existing Gist'_.
When I go to Edit settings then I see an access token textfield filled with some value but the Gist ID textfield is empty
I can't download my settings or trigger Sync.
If on Edit Settings, I enter my Gist ID and then try the Download Settings then VSCode gives a notification: _'Your Gist ID is invalid'_.
馃尨 Visual Studio Code Version : 1.39.2
馃尨 Code Settings Sync Version : 3.4.3
馃尨 Standard or Insiders : Standard
馃尨 Portable or Installed : Installed
馃尨 OSS or Official Build : OSS
馃尨 Operating System : macOS v10.15.1
馃尨 Occurs On: Help Configuring
馃尨 Proxy Enabled: No
馃尨 Gist Id: 5ba4ea145506d59b5b7ad7ff0bbeca4c
馃摪 To Reproduce
Steps to reproduce the behavior:
馃挭 Expected behavior
I expect a list of existing Gist to be shown in VSCode after I login with my VSCode Sync Gist Github account.
馃摵 Console Error Log


馃摵 Additional context
馃摵 Console Error Log
Can you show the image of console logs.
I see NO log on VS Code developer tools console output but I see following two errors on Chrome developer tools console output:
Content Security Policies delivered via a <meta> element may not contain the frame-ancestors directive. callback:9 Refused to load the image 'http://localhost:54321/favicon.ico' because it violates the following Content Security Policy directive: "img-src vscode-resource: https:". callback:1Similar issues here.
After clicking login with github my chrom console contains:
[Embedded Page] Uncaught SyntaxError: missing ) after argument list
webviewElement.ts:303
[Embedded Page] Uncaught ReferenceError: skip is not defined
same issue
Same issue.
Found a temporary fix that works for me. I just went into the user settings JSON file, and added this line (copied from my other computer, which I wanted to sync with):
"sync.gist": "myGistID"
Once I saved those files, I then ran "Sync: Download Settings" in the command palette, and it started syncing.
I just encountered this problem, @sashafklein solution worked for me.
I encountered the same problem. I checked the sync.gist setting, found that gist id was incorrect. Correcting the gist id worked for me.
It was very odd. I copied and pasted the gist id, but it extra non-ascii characters were appended at the end.
Duplicate of #1005
Most helpful comment
Found a temporary fix that works for me. I just went into the user settings JSON file, and added this line (copied from my other computer, which I wanted to sync with):
Once I saved those files, I then ran "Sync: Download Settings" in the command palette, and it started syncing.