René's URL Explorer Experiment


Title: feat(oauth): Add refresh to oauthdevice.Client by burmudar · Pull Request #1227 · sourcegraph/src-cli · GitHub

Open Graph Title: feat(oauth): Add refresh to oauthdevice.Client by burmudar · Pull Request #1227 · sourcegraph/src-cli

X Title: feat(oauth): Add refresh to oauthdevice.Client by burmudar · Pull Request #1227 · sourcegraph/src-cli

Description: add refresh to oauthdevice.Client oauthdevice: add RefreshToken field and Refresh method Test plan

Open Graph Description: add refresh to oauthdevice.Client oauthdevice: add RefreshToken field and Refresh method Test plan

X Description: add refresh to oauthdevice.Client oauthdevice: add RefreshToken field and Refresh method Test plan

Opengraph URL: https://github.com/sourcegraph/src-cli/pull/1227

X: @github

direct link

Domain: patch-diff.githubusercontent.com

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:93b8a761-d619-8813-ff60-a4032c853772
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE20:1DE36E:AAA203:E74BD8:6971CA89
html-safe-nonce4932d488a6e3a9a3338461028b2a3dc58fec2f68dd5253ebd19d7eb73d664e11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTIwOjFERTM2RTpBQUEyMDM6RTc0QkQ4OjY5NzFDQTg5IiwidmlzaXRvcl9pZCI6IjY0MTA3MDE3MTQyOTMzNzc2NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5a1d214b4a134ec278784129972bceebf759d979963a1324815f7b02a349ad2a
hovercard-subject-tagpull_request:3081078344
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/sourcegraph/src-cli/1227/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/58cd6fff90942709d0d5561428c938024f8303734831a78cffa28b1e37a69879/sourcegraph/src-cli/pull/1227
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/58cd6fff90942709d0d5561428c938024f8303734831a78cffa28b1e37a69879/sourcegraph/src-cli/pull/1227
og:image:altadd refresh to oauthdevice.Client oauthdevice: add RefreshToken field and Refresh method Test plan
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameburmudar
hostnamegithub.com
expected-hostnamegithub.com
Noneac615aa66802dad9a938c6abe95edf09ee43c0c7f508315b64b08612858ef32e
turbo-cache-controlno-preview
go-importgithub.com/sourcegraph/src-cli git https://github.com/sourcegraph/src-cli.git
octolytics-dimension-user_id3979584
octolytics-dimension-user_loginsourcegraph
octolytics-dimension-repository_id130770053
octolytics-dimension-repository_nwosourcegraph/src-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id130770053
octolytics-dimension-repository_network_root_nwosourcegraph/src-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
release6b618569a5f93e0b31f97f620112341421ef5f69
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrc-cli%2Fpull%2F1227
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrc-cli%2Fpull%2F1227
Sign up https://patch-diff.githubusercontent.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=sourcegraph%2Fsrc-cli
Reloadhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
Reloadhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
Reloadhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
sourcegraph https://patch-diff.githubusercontent.com/sourcegraph
src-clihttps://patch-diff.githubusercontent.com/sourcegraph/src-cli
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fsourcegraph%2Fsrc-cli
Fork 70 https://patch-diff.githubusercontent.com/login?return_to=%2Fsourcegraph%2Fsrc-cli
Star 315 https://patch-diff.githubusercontent.com/login?return_to=%2Fsourcegraph%2Fsrc-cli
Code https://patch-diff.githubusercontent.com/sourcegraph/src-cli
Issues 41 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/issues
Pull requests 4 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pulls
Actions https://patch-diff.githubusercontent.com/sourcegraph/src-cli/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/sourcegraph/src-cli/security
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
Insights https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pulse
Code https://patch-diff.githubusercontent.com/sourcegraph/src-cli
Issues https://patch-diff.githubusercontent.com/sourcegraph/src-cli/issues
Pull requests https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pulls
Actions https://patch-diff.githubusercontent.com/sourcegraph/src-cli/actions
Security https://patch-diff.githubusercontent.com/sourcegraph/src-cli/security
Insights https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fsourcegraph%2Fsrc-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fsourcegraph%2Fsrc-cli%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#issue-comment-box
burmudarhttps://patch-diff.githubusercontent.com/burmudar
wb/add-oauth-device-flowhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/tree/wb/add-oauth-device-flow
wb/add-oauth-refresh-tokenhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/tree/wb/add-oauth-refresh-token
feat(oauth): Add refresh to oauthdevice.Client https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#top
burmudarhttps://patch-diff.githubusercontent.com/burmudar
wb/add-oauth-device-flowhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/tree/wb/add-oauth-device-flow
wb/add-oauth-refresh-tokenhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/tree/wb/add-oauth-refresh-token
Conversation 5 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
Commits 2 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/commits
Checks 8 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/checks
Files changed https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/files
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/burmudar
burmudarhttps://patch-diff.githubusercontent.com/burmudar
Dec 8, 2025https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#issue-3705765377
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
burmudarhttps://patch-diff.githubusercontent.com/burmudar
December 8, 2025 12:30https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#commits-pushed-2ac282a
https://patch-diff.githubusercontent.com/burmudar
add refresh to oauthdevice.Clienthttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/commits/2ac282ab9419cecfa92c60c373762d90d5600297
2ac282ahttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/commits/2ac282ab9419cecfa92c60c373762d90d5600297
https://patch-diff.githubusercontent.com/burmudar
oauthdevice: add RefreshToken field and Refresh methodhttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/commits/2f24f44607d309f20908c77abf81e68eecfb2c47
2f24f44https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/commits/2f24f44607d309f20908c77abf81e68eecfb2c47
https://patch-diff.githubusercontent.com/burmudar
burmudarhttps://patch-diff.githubusercontent.com/burmudar
Dec 8, 2025https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#issuecomment-3626249100
feat(oauth): use oauth device flow to authenticate with predefined src-cli OAuth client  #1223https://github.com/sourcegraph/src-cli/pull/1223
feat(oauth): Add refresh to oauthdevice.Client #1227https://github.com/sourcegraph/src-cli/pull/1227
feat(oauth): Use keyring to store oauth token #1228https://github.com/sourcegraph/src-cli/pull/1228
git-spicehttps://abhinav.github.io/git-spice/
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
feat(oauth): use oauth device flow to authenticate with predefined src-cli OAuth client #1223 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1223
feat(oauth): Use keyring to store oauth token #1228 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1228
https://patch-diff.githubusercontent.com/keegancsmith
keegancsmithhttps://patch-diff.githubusercontent.com/keegancsmith
Dec 8, 2025 https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#pullrequestreview-3552379953
View reviewed changes https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/files/2f24f44607d309f20908c77abf81e68eecfb2c47
keegancsmithhttps://patch-diff.githubusercontent.com/keegancsmith
https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#pullrequestreview-3552379953
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
internal/oauthdevice/device_flow.gohttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/files/2f24f44607d309f20908c77abf81e68eecfb2c47#diff-8b932d92c50eddce8f76ac32defbf607a9655f605850482970e243b21ea735ba
keegancsmithhttps://patch-diff.githubusercontent.com/keegancsmith
Dec 8, 2025https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#discussion_r2598864477
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
burmudarhttps://patch-diff.githubusercontent.com/burmudar
Dec 8, 2025https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#discussion_r2598879509
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
https://patch-diff.githubusercontent.com/burmudar
burmudarhttps://patch-diff.githubusercontent.com/burmudar
Dec 8, 2025https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227#issuecomment-3627239161
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcegraph%2Fsrc-cli%2Fpull%2F1227
https://patch-diff.githubusercontent.com/keegancsmith
keegancsmith https://patch-diff.githubusercontent.com/keegancsmith
https://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227/files/2f24f44607d309f20908c77abf81e68eecfb2c47
Please reload this pagehttps://patch-diff.githubusercontent.com/sourcegraph/src-cli/pull/1227
https://patch-diff.githubusercontent.com/burmudar
https://patch-diff.githubusercontent.com/keegancsmith
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
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.