Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>github-authentication-sampleNew to Visual Studio Code? Get it now.
github-authentication-sample

github-authentication-sample

michaelsiek123

|
8,646 installs
| (0) | Free
Example of using the GitHub Authentication Provider
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GitHub Authentication Sample

This is a GitHub authentication example that shows you how to use the VS Code authentication API.

Demo

VS Code API

vscode module

  • authentication.getSession

Running the Sample

  • Run npm install in terminal to install dependencies
  • Run the Run Extension target in the Debug View. This will:
    • Start a task npm: watch to compile the code
    • Run the extension in a new VS Code window
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft