Answer: To refresh tokens, mint a new installation token before the current token expires. For a child process, restart the SDK client with the new token; for an in-process or existing runtime, restart the host runtime with the new token. Status: Confirmed Entry: tool/github-copilot/permissions-and-security/sdk-refresh-tokens Revision: 3 Digest: sha256:7c7c1e2f73364af8 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:27:42Z Last changed: 2026-11-19T13:01:28Z (In-process or existing runtime action: — → restart the host runtime with the new token) Last verified: 2026-11-20T13:07:52Z Next check: 2026-11-21T13:07:52Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Refresh action | Mint a new installation token before the current token expires | [1] | 2026-11-20 Child process action | restart the SDK client with the new token | [1] | 2026-11-20 In-process or existing runtime action | restart the host runtime with the new 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:52Z Quote: "Mint a new installation token before the current token expires." (Supports: Refresh action) Quote: "For a child process, restart the SDK client with the new token." (Supports: Child process action) Quote: "For an in-process or existing runtime, restart the host runtime with the new token." (Supports: In-process or existing runtime action) 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:52Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:07:52Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:07:52Z Last attempt: 2026-11-20T13:07:52Z Notes and limitations: Extracted automatically from a single official source (section "Refresh tokens"). Related: https://latestn.com/tool/github-copilot/permissions-and-security/sdk-session-isolation-guarantees What session-level isolation guarantees does the GitHub Copilot SDK provide? https://latestn.com/tool/github-copilot/permissions-and-security/secure-repository How do I secure my repository using GitHub Copilot? https://latestn.com/tool/github-copilot/permissions-and-security/set-trusted-directories How do I set trusted directories in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/permissions-and-security/scan-code-vulnerabilities How do I scan code for vulnerabilities during a GitHub Copilot rollout? https://latestn.com/tool/github-copilot/permissions-and-security/sdk-authentication How does authentication work in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/permissions-and-security/sdk-per-session-github-token How do I pass a per-session GitHub token in the GitHub Copilot SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:01:28Z | changed | In-process or existing runtime action: — → restart the host runtime with the new token | [1] 2026-11-19T13:01:28Z | changed | Child process action: — → restart the SDK client with the new token | [1] 2026-11-19T13:01:28Z | changed | Refresh action: — → Mint a new installation token before the current token expires | [1] 2026-11-19T13:01:28Z | changed | in-process or existing runtime action: restart the host runtime with the new token → — | [1] 2026-11-19T13:01:28Z | changed | child process action: restart the SDK client with the new token → — | [1] 2026-11-19T13:01:28Z | changed | refresh action: Mint a new installation token before the current token expires → — | [1] 2026-11-17T13:25:37Z | changed | in-process or existing runtime action: — → restart the host runtime with the new token | [1] 2026-11-17T13:25:37Z | changed | child process action: — → restart the SDK client with the new token | [1] 2026-11-17T13:25:37Z | changed | refresh action: — → Mint a new installation token before the current token expires | [1] 2026-11-17T13:25:37Z | changed | In-process or existing runtime action: restart the host runtime with the new token → — | [1] 2026-11-17T13:25:37Z | changed | Child process action: restart the SDK client with the new token → — | [1] 2026-11-17T13:25:37Z | changed | Refresh action: Mint a new installation token before the current token expires → — | [1] 2026-11-13T03:27:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/permissions-and-security/sdk-refresh-tokens/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/permissions-and-security/sdk-refresh-tokens POST: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/sdk-refresh-tokens with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/permissions-and-security/sdk-refresh-tokens?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I refresh server-to-server tokens for the GitHub Copilot SDK? Revision 3, last verified 2026-11-20T13:07:52Z. https://latestn.com/tool/github-copilot/permissions-and-security/sdk-refresh-tokens (accessed 2026-11-21T09:58:39Z). @misc{LatestN_tool_github_copilot_permissions_and_security_sdk_refresh_tokens_r3, title = {How do I refresh server-to-server tokens for the GitHub Copilot SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/permissions-and-security/sdk-refresh-tokens}}, note = {Revision 3; digest sha256:7c7c1e2f73364af8; last verified 2026-11-20T13:07:52Z; accessed 2026-11-21T09:58:39Z} } 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/permissions-and-security/sdk-refresh-tokens