Answer: To configure the runtime for server-to-server authentication, pass the minted token (in INSTALLATION_TOKEN) to the child runtime via the GitHub token option and set useLoggedInUser to false to disable fallback to stored user credentials. For example, in TypeScript: new CopilotClient({ connection: RuntimeConnection.forStdio(), gitHubToken: token, useLoggedInUser: false }). Status: Confirmed Entry: tool/github-copilot/settings/sdk-configure-runtime-auth Revision: 3 Digest: sha256:d241bcdfb979f427 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:27:43Z Last changed: 2026-11-18T13:02:55Z (existing runtime URI env var: — → COPILOT_GITHUB_TOKEN) Last verified: 2026-11-20T13:07:53Z Next check: 2026-11-21T13:07:53Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of token variable | INSTALLATION_TOKEN | [1] | 2026-11-20 TypeScript token option | gitHubToken : token | [1] | 2026-11-20 TypeScript connection | RuntimeConnection . forStdio () | [1] | 2026-11-20 fallback setting | useLoggedInUser : false | [1] | 2026-11-20 Python token option | github_token=os.environ[ "INSTALLATION_TOKEN" ] | [1] | 2026-11-20 Go token option | GitHubToken: token | [1] | 2026-11-20 Rust token option | with_github_token (token) | [1] | 2026-11-20 existing runtime URI env var | COPILOT_GITHUB_TOKEN | [1] | 2026-11-20 Sources: [1] GitHub. "Server-to-server authentication - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/server-to-server-tokens Role: primary. Accessed: 2026-11-20T13:07:53Z Quote: "The following examples assume the minted token is in INSTALLATION_TOKEN ." (Supports: token variable) Quote: "gitHubToken : token, useLoggedInUser : false ," (Supports: TypeScript token option) Quote: "connection : RuntimeConnection . forStdio ()" (Supports: TypeScript connection) Quote: "useLoggedInUser : false ," (Supports: fallback setting) Quote: "github_token=os.environ[ "INSTALLATION_TOKEN" ], use_logged_in_user= False ," (Supports: Python token option) Quote: "GitHubToken: token, UseLoggedInUser: copilot.Bool( false )," (Supports: Go token option) Quote: ". with_github_token (token) . with_use_logged_in_user ( false );" (Supports: Rust token option) Quote: "For an existing runtime URI, set COPILOT_GITHUB_TOKEN on that runtime process." (Supports: existing runtime URI env var) Snapshot SHA-256: bfd9827d6b9c0717c0a73d9f70e174e8ed6db868e0169711b7bc6cefa73e4ba3 (captured 2026-11-18T13:02:51Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:02:55Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:07:53Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:07:53Z Last attempt: 2026-11-20T13:07:53Z Notes and limitations: Extracted automatically from a single official source (section "Configure the runtime"). Related: https://latestn.com/tool/github-copilot/settings/sdk-customization-file-formats-precedence What file formats does the GitHub Copilot SDK support for customizations and which takes precedence? https://latestn.com/tool/github-copilot/settings/sdk-customization-inputs How do I pass customization locations to the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/settings/sdk-customization-repository-locations Where does the GitHub Copilot SDK look for customization files in a repository? https://latestn.com/tool/github-copilot/settings/reuse-existing-mcp-configs How do I reuse existing MCP configurations in GitHub Copilot Chat? https://latestn.com/tool/github-copilot/settings/safely-delete-config-files Which files in the GitHub Copilot CLI configuration directory can I safely delete? https://latestn.com/tool/github-copilot/settings/script-runtime-env-vars What runtime environment variables are available for scripts in the GitHub Copilot app? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:02:55Z | changed | existing runtime URI env var: — → COPILOT_GITHUB_TOKEN | [1] 2026-11-18T13:02:55Z | changed | Rust token option: — → with_github_token (token) | [1] 2026-11-18T13:02:55Z | changed | Go token option: — → GitHubToken: token | [1] 2026-11-18T13:02:55Z | changed | Python token option: — → github_token=os.environ[ "INSTALLATION_TOKEN" ] | [1] 2026-11-18T13:02:55Z | changed | fallback setting: — → useLoggedInUser : false | [1] 2026-11-18T13:02:55Z | changed | TypeScript connection: — → RuntimeConnection . forStdio () | [1] 2026-11-18T13:02:55Z | changed | TypeScript token option: — → gitHubToken : token | [1] 2026-11-18T13:02:55Z | changed | token variable: — → INSTALLATION_TOKEN | [1] 2026-11-18T13:02:55Z | changed | Existing runtime URI: COPILOT_GITHUB_TOKEN → — | [1] 2026-11-18T13:02:55Z | changed | In-process FFI note: environment variable tokens in the host process are ignored when useLoggedInUser is false → — | [1] 2026-11-18T13:02:55Z | changed | Token environment variable: INSTALLATION_TOKEN → — | [1] 2026-11-18T13:02:55Z | changed | TypeScript configuration: new CopilotClient ({ connection : RuntimeConnection . forStdio (), gitHubToken : token, useLoggedInUser : false , }) → — | [1] 2026-11-16T12:51:45Z | changed | Existing runtime URI: — → COPILOT_GITHUB_TOKEN | [1] 2026-11-16T12:51:45Z | changed | In-process FFI note: — → environment variable tokens in the host process are ignored when useLoggedInUser is false | [1] 2026-11-16T12:51:45Z | changed | Token environment variable: — → INSTALLATION_TOKEN | [1] 2026-11-16T12:51:45Z | changed | TypeScript configuration: — → new CopilotClient ({ connection : RuntimeConnection . forStdio (), gitHubToken : token, useLoggedInUser : false , }) | [1] 2026-11-16T12:51:45Z | changed | existing runtime URI variable: COPILOT_GITHUB_TOKEN → — | [1] 2026-11-16T12:51:45Z | changed | .NET token option: GitHubToken = token → — | [1] 2026-11-16T12:51:45Z | changed | Rust token option: with_github_token (token) → — | [1] 2026-11-16T12:51:45Z | changed | Go token option: GitHubToken: token → — | [1] 2026-11-16T12:51:45Z | changed | Python token option: github_token=os.environ[ "INSTALLATION_TOKEN" ] → — | [1] 2026-11-16T12:51:45Z | changed | TypeScript fallback setting: useLoggedInUser : false → — | [1] 2026-11-16T12:51:45Z | changed | TypeScript token option: gitHubToken : token → — | [1] 2026-11-16T12:51:45Z | changed | token environment variable: INSTALLATION_TOKEN → — | [1] 2026-11-13T03:27:43Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/sdk-configure-runtime-auth/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/settings/sdk-configure-runtime-auth POST: https://latestn.com/dispute/tool/github-copilot/settings/sdk-configure-runtime-auth with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/sdk-configure-runtime-auth?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure the runtime for server-to-server authentication in the GitHub Copilot SDK? Revision 3, last verified 2026-11-20T13:07:53Z. https://latestn.com/tool/github-copilot/settings/sdk-configure-runtime-auth (accessed 2026-11-21T09:53:06Z). @misc{LatestN_tool_github_copilot_settings_sdk_configure_runtime_auth_r3, title = {How do I configure the runtime for server-to-server authentication in the GitHub Copilot SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/sdk-configure-runtime-auth}}, note = {Revision 3; digest sha256:d241bcdfb979f427; last verified 2026-11-20T13:07:53Z; accessed 2026-11-21T09:53:06Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/settings/sdk-configure-runtime-auth