Skip to content

Codespaces user secrets guide describes logout behavior from older GitHub CLI versions #47156

Backlog

Description

@Jostar2

Code of Conduct

What article on docs.github.com is affected?

Managing your account-specific secrets for GitHub Codespaces

What part(s) of the article would you like to see updated?

In the steps for managing secrets from inside a codespace, the article says that signing out leaves a copied OAuth token usable and leaves any credentials saved by a Git credential helper in place.

Starting in GitHub CLI 2.106.0, a successful default logout revokes the OAuth token issued for the web sign-in in these instructions. Copies of that token stop working. The CLI also asks the helper to remove saved HTTPS credentials for the host. The guide should distinguish these behaviors from earlier versions so users can tell when they need to revoke a token separately.

Additional information

The behavior change is documented in the 2.106.0 release notes. The 2.105.0 logout command describes the older behavior.

Activity

  1. welcome commented on Dec 2, 2026

    @welcome

    Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

  2. added
    triage
    on Dec 2, 2026
  3. github-actions commented on Dec 2, 2026

    @github-actions
    Contributor

    Thanks for your submission, @Jostar2! We've marked this for review by the appropriate team.

  4. added
    content
    and removed
    triage
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    content

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions