Skip to content

campaigns: add user token settings interface

Created by: LawnGnome

We'll need GraphQL queries/mutations to support this, and eventually some design input.

Objectives

  • A GraphQL API must be available to manage tokens.
  • Users should be able to paste in tokens provisioned from their code host and have them be used.
  • Users should be able to delete tokens from the Sourcegraph database.
  • Users should be able to see which code hosts they have tokens for and which they do not.

Security considerations

  • User tokens must not be returned from the GraphQL API at any point.
  • Listing code hosts that the user may add tokens for must be filtered by the repositories that the user has access to.