Choose the authentication method that best fits your deployment scenario for the GitHub Copilot SDK.
When multiple credentials are configured, an explicit SDK token takes priority, followed by HMAC or direct Copilot API environment authentication, environment variable GitHub tokens, stored Copilot CLI credentials, and then GitHub CLI credentials. See Authenticate Copilot SDK for details.
For multi-user server mode, pass a per-session gitHubToken so each session runs with the correct GitHub identity; see Multi-user and server deployments.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |