Skip to content
Snippets Groups Projects
Closed Add HTTP basic auth to language servers
  • View options
  • Add HTTP basic auth to language servers

  • View options
  • Closed Issue created by Warren Gifford

    Created by: chrismwendt

    All customers that I know of only deploy language servers inside a VPN, but it would be useful for the language servers to support HTTP basic auth for both the case when they're accessible from the Internet and for additional security.

    Tech sketch:

    • Add docs for requiring HTTP basic auth to language servers through nginx https://github.com/sourcegraph/sourcegraph-go/pull/37 (TODO move to sourcegraph/sourcegraph)
    • Update extension READMEs to mention how to add HTTP auth:
      • Create an .htpasswd file with a password
      • Configure nginx to require basic auth before routing traffic to the language server
      • Add the basic auth password to the {go,typescript,python}.serverUrl setting

    cc @KattMingMing @slimsag

    ✓ 2 of 2 checklist items completed

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first