Add prefer device flow config for GitHub auth (#271838)

* Initial plan

* Add forceDeviceCodeFlow setting for GitHub authentication

Co-authored-by: pwang347 <8560030+pwang347@users.noreply.github.com>

* modifications

* nit

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pwang347 <8560030+pwang347@users.noreply.github.com>
This commit is contained in:
Paul
2025-10-16 17:06:01 -07:00
committed by GitHub
parent af6adc61ce
commit 55cdeb5771
4 changed files with 85 additions and 3 deletions

View File

@@ -62,6 +62,12 @@
"default": true,
"scope": "application",
"markdownDescription": "%config.github-authentication.useElectronFetch.description%"
},
"github-authentication.preferDeviceCodeFlow": {
"type": "boolean",
"default": false,
"scope": "application",
"markdownDescription": "%config.github-authentication.preferDeviceCodeFlow.description%"
}
}
}