René's URL Explorer Experiment


Title: Revoke CLI OAuth tokens on logout by BagToad · Pull Request #15100 · cli/cli · GitHub

Open Graph Title: Revoke CLI OAuth tokens on logout by BagToad · Pull Request #15100 · cli/cli

X Title: Revoke CLI OAuth tokens on logout by BagToad · Pull Request #15100 · cli/cli

Description: GitHub’s official command line tool. Contribute to cli/cli development by creating an account on GitHub.

Open Graph Description: Related to #13111 and #9233. Description gh auth logout removes local authentication without invalidating the saved token. This change revokes the selected GitHub CLI OAuth token first. Other toke...

X Description: Related to #13111 and #9233. Description gh auth logout removes local authentication without invalidating the saved token. This change revokes the selected GitHub CLI OAuth token first. Other toke...

Opengraph URL: https://github.com/cli/cli/pull/15100

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d5298915-7fe1-e890-6691-346c802791f8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8936:11EACE:14CD41C:1BC20F6:6B01321F
html-safe-noncee87a1b133a5d5ae009b9bc8a00dfa96c332ed00759e2cd6033ed6491a7f588d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTM2OjExRUFDRToxNENENDFDOjFCQzIwRjY6NkIwMTMyMUYiLCJ2aXNpdG9yX2lkIjoiNzQzMzI2NjAyNjU3NTM3NjkyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1cbd920349a74752b95607c921a0a49994c78077ecc6bc745506c2ad328ae007
hovercard-subject-tagpull_request:5385641167
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cli/cli/15100/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6843a3a3b117337704f8a1bb73b1d3ca2967d1bb7486a4fb6ad9f3cbd5e719ff/cli/cli/pull/15100
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6843a3a3b117337704f8a1bb73b1d3ca2967d1bb7486a4fb6ad9f3cbd5e719ff/cli/cli/pull/15100
og:image:altRelated to #13111 and #9233. Description gh auth logout removes local authentication without invalidating the saved token. This change revokes the selected GitHub CLI OAuth token first. Other toke...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBagToad
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/cli/cli git https://github.com/cli/cli.git
octolytics-dimension-user_id59704711
octolytics-dimension-user_logincli
octolytics-dimension-repository_id212613049
octolytics-dimension-repository_nwocli/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id212613049
octolytics-dimension-repository_network_root_nwocli/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/cli/cli/pull/15100#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F15100
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F15100
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cli%2Fcli
Reloadhttps://github.com/cli/cli/pull/15100
Reloadhttps://github.com/cli/cli/pull/15100
Reloadhttps://github.com/cli/cli/pull/15100
clihttps://github.com/cli
clihttps://github.com/cli/cli
Codehttps://github.com/cli/cli
Issues1.1k (1.1k)https://github.com/cli/cli/issues
Pull requests59 (59)https://github.com/cli/cli/pulls
Discussionshttps://github.com/cli/cli/discussions
Actionshttps://github.com/cli/cli/actions
Projectshttps://github.com/cli/cli/projects
Security and quality17 (17)https://github.com/cli/cli/security
Insightshttps://github.com/cli/cli/insights
https://github.com/cli/cli
BagToadhttps://github.com/BagToad
trunkhttps://github.com/cli/cli/tree/trunk
bagtoad/oauth-logout-revocationhttps://github.com/cli/cli/tree/bagtoad/oauth-logout-revocation
Conversationhttps://github.com/cli/cli/pull/15100
Commits6 (6)https://github.com/cli/cli/pull/15100/commits
Checkshttps://github.com/cli/cli/pull/15100/checks
Files changedhttps://github.com/cli/cli/pull/15100/files
Revoke CLI OAuth tokens on logouthttps://github.com/cli/cli/pull/15100#top
BagToadhttps://github.com/BagToad
trunkhttps://github.com/cli/cli/tree/trunk
bagtoad/oauth-logout-revocationhttps://github.com/cli/cli/tree/bagtoad/oauth-logout-revocation
https://github.com/BagToad
BagToadhttps://github.com/BagToad
Nov 18, 2026https://github.com/cli/cli/pull/15100#issue-6478572522
Please reload this pagehttps://github.com/cli/cli/pull/15100
#13111https://github.com/cli/cli/issues/13111
#9233https://github.com/cli/cli/issues/9233
logout flowhttps://github.com/cli/cli/blob/bagtoad/oauth-logout-revocation/pkg/cmd/auth/logout/logout.go
targeted requesthttps://github.com/cli/cli/blob/bagtoad/oauth-logout-revocation/internal/authflow/revoke.go
locked credential cleanuphttps://github.com/cli/cli/blob/bagtoad/oauth-logout-revocation/internal/config/config.go
#13111https://github.com/cli/cli/issues/13111
#9233https://github.com/cli/cli/issues/9233
@BagToadhttps://github.com/BagToad
Please reload this pagehttps://github.com/cli/cli/pull/15100
https://github.com/BagToad
Revoke CLI OAuth tokens on logouthttps://github.com/cli/cli/pull/15100/commits/24968b6ab2f7556183246c9d729edd06acacaf98
24968b6https://github.com/cli/cli/pull/15100/commits/24968b6ab2f7556183246c9d729edd06acacaf98
https://github.com/BagToad
BagToadhttps://github.com/BagToad
code ownerhttps://github.com/cli/cli/blob/acee710547dcf7dfb6490afea77972187e74b819/.github/CODEOWNERS#L1
November 18, 2026 23:08https://github.com/cli/cli/pull/15100#event-36589132167
https://github.com/BagToad
BagToadhttps://github.com/BagToad
niikhttps://github.com/niik
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 18, 2026 23:08https://github.com/cli/cli/pull/15100#event-36589132756
started reviewinghttps://github.com/cli/cli/sessions/5dc77b48-3e9a-4566-a7d6-e0afb917fd84
BagToadhttps://github.com/BagToad
November 18, 2026 23:08https://github.com/cli/cli/pull/15100#event-36589166056
View session https://github.com/cli/cli/sessions/5dc77b48-3e9a-4566-a7d6-e0afb917fd84
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 18, 2026 https://github.com/cli/cli/pull/15100#pullrequestreview-5966695841
View reviewed changes https://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/cli/cli/pull/15100#pullrequestreview-5966695841
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Preserve local-only behavior for scripted logout by defaulthttps://github.com/cli/cli/pull/15100#discussion_r4622141622
#13111https://github.com/cli/cli/issues/13111
Please reload this pagehttps://github.com/cli/cli/pull/15100
pkg/cmd/auth/logout/logout.gohttps://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98#diff-803fee8821d76a65561282fbc63690059e08ff0c93803bc7cc267271b84d0f1b
Please reload this pagehttps://github.com/cli/cli/pull/15100
https://github.com/RafiPafi1
RafiPafi1https://github.com/RafiPafi1
Nov 19, 2026 https://github.com/cli/cli/pull/15100#ref-pullrequest-6479597985
feat: report each pull request's reviewers in timber __app-pr Coding-M8s/timber#169 https://github.com/Coding-M8s/timber/pull/169
https://github.com/babakks
babakkshttps://github.com/babakks
Nov 19, 2026 https://github.com/cli/cli/pull/15100#pullrequestreview-5980848725
View reviewed changes https://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98
babakkshttps://github.com/babakks
https://github.com/cli/cli/pull/15100#pullrequestreview-5980848725
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@BagToadhttps://github.com/BagToad
Please reload this pagehttps://github.com/cli/cli/pull/15100
pkg/cmd/auth/logout/logout.gohttps://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98#diff-803fee8821d76a65561282fbc63690059e08ff0c93803bc7cc267271b84d0f1b
Please reload this pagehttps://github.com/cli/cli/pull/15100
pkg/cmd/auth/logout/logout.gohttps://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98#diff-803fee8821d76a65561282fbc63690059e08ff0c93803bc7cc267271b84d0f1b
Please reload this pagehttps://github.com/cli/cli/pull/15100
internal/config/config.gohttps://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
Please reload this pagehttps://github.com/cli/cli/pull/15100
internal/authflow/revoke.gohttps://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98#diff-b7d5e6451e589350a819680f954bb0223699a55753ba88f2bd085419e294f5a3
babakkshttps://github.com/babakks
Nov 19, 2026https://github.com/cli/cli/pull/15100#discussion_r4633186860
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/15100
BagToadhttps://github.com/BagToad
Nov 19, 2026https://github.com/cli/cli/pull/15100#discussion_r4633473276
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/15100
BagToadhttps://github.com/BagToad
Nov 20, 2026https://github.com/cli/cli/pull/15100#discussion_r4645465621
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/15100
BagToadhttps://github.com/BagToad
Nov 20, 2026https://github.com/cli/cli/pull/15100#discussion_r4646084646
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
bdcd69067https://github.com/cli/cli/commit/bdcd69067d8b7c995749badab6cc74e902fba1f8
Please reload this pagehttps://github.com/cli/cli/pull/15100
internal/authflow/revoke.gohttps://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98#diff-b7d5e6451e589350a819680f954bb0223699a55753ba88f2bd085419e294f5a3
Please reload this pagehttps://github.com/cli/cli/pull/15100
https://github.com/babakks
babakkshttps://github.com/babakks
niikhttps://github.com/niik
November 19, 2026 18:24https://github.com/cli/cli/pull/15100#event-36685365174
BagToadhttps://github.com/BagToad
November 19, 2026 12:59https://github.com/cli/cli/pull/15100#commits-pushed-75e31ec
https://github.com/BagToad
Clarify OAuth token logout flag helphttps://github.com/cli/cli/pull/15100/commits/75e31ecb702ac9fa374a824ba48eb805ff2bb0fe
75e31echttps://github.com/cli/cli/pull/15100/commits/75e31ecb702ac9fa374a824ba48eb805ff2bb0fe
https://github.com/BagToad
Build OAuth revocation paths with safeurlhttps://github.com/cli/cli/pull/15100/commits/d45e0e0b37c75ffbd798d50e509773ed2c5301f3
d45e0e0https://github.com/cli/cli/pull/15100/commits/d45e0e0b37c75ffbd798d50e509773ed2c5301f3
https://github.com/BagToad
Extract credential-aware logout flowhttps://github.com/cli/cli/pull/15100/commits/30b9f9a56379fa9f77a973215ba04b741c368295
30b9f9ahttps://github.com/cli/cli/pull/15100/commits/30b9f9a56379fa9f77a973215ba04b741c368295
https://github.com/BagToad
Limit required logout locking to revocationhttps://github.com/cli/cli/pull/15100/commits/dfe9be699a547d661f3559f99fed763412bedbae
dfe9be6https://github.com/cli/cli/pull/15100/commits/dfe9be699a547d661f3559f99fed763412bedbae
https://github.com/BagToad
BagToadhttps://github.com/BagToad
babakkshttps://github.com/babakks
November 19, 2026 19:01https://github.com/cli/cli/pull/15100#event-36688823721
https://github.com/BagToad
Fix expired OAuth token revocation on logouthttps://github.com/cli/cli/pull/15100/commits/bdcd69067d8b7c995749badab6cc74e902fba1f8
bdcd690https://github.com/cli/cli/pull/15100/commits/bdcd69067d8b7c995749badab6cc74e902fba1f8
https://github.co/hiddenchars
https://github.com/cli/cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F15100
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/cli/cli/pull/15100/files/24968b6ab2f7556183246c9d729edd06acacaf98
https://github.com/babakks
babakks https://github.com/babakks
Please reload this pagehttps://github.com/cli/cli/pull/15100
Please reload this pagehttps://github.com/cli/cli/pull/15100
https://github.com/BagToad
https://github.com/babakks
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.