refactor github auth to be a bit simpler. Remove PAT for GitHub auth since Settings Sync doesn't allow for it and add timeout so that GitHub Auth is not stuck.

This commit is contained in:
Tyler Leonhardt
2021-08-16 16:34:13 -07:00
parent 4ea225a1f0
commit 520fa49e68
7 changed files with 295 additions and 186 deletions

View File

@@ -29,30 +29,6 @@
}
},
"contributes": {
"commands": [
{
"command": "github.provide-token",
"title": "Manually Provide Token",
"category": "GitHub"
},
{
"command": "github-enterprise.provide-token",
"title": "Manually Provide Token",
"category": "GitHub Enterprise"
}
],
"menus": {
"commandPalette": [
{
"command": "github.provide-token",
"when": "false"
},
{
"command": "github-enterprise.provide-token",
"when": "false"
}
]
},
"authentication": [
{
"label": "GitHub",