René's URL Explorer Experiment


Title: feat(auth): Implement encrypted storage for OAuth account tokens by harrison-xrb · Pull Request #853 · sourcebot-dev/sourcebot · GitHub

Open Graph Title: feat(auth): Implement encrypted storage for OAuth account tokens by harrison-xrb · Pull Request #853 · sourcebot-dev/sourcebot

X Title: feat(auth): Implement encrypted storage for OAuth account tokens by harrison-xrb · Pull Request #853 · sourcebot-dev/sourcebot

Description: Sourcebot is a self-hosted tool that helps humans and agents understand your codebase. - feat(auth): Implement encrypted storage for OAuth account tokens by harrison-xrb · Pull Request #853 · sourcebot-dev/sourcebot

Open Graph Description: Add AES-256-GCM encryption for OAuth access and refresh tokens Create EncryptedPrismaAdapter wrapping Auth.js PrismaAdapter Implement automatic encryption on token storage and decryption on usage S...

X Description: Add AES-256-GCM encryption for OAuth access and refresh tokens Create EncryptedPrismaAdapter wrapping Auth.js PrismaAdapter Implement automatic encryption on token storage and decryption on usage S...

Opengraph URL: https://github.com/sourcebot-dev/sourcebot/pull/853

X: @github

direct link

Domain: github.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:f6f56597-3946-3cd7-1a38-4b0694a1bacd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6EC:23E9D1:727D2:99E28:6A4D8C7B
html-safe-nonceea21d08cfaf7b5e42cd7998784910ba6e532ce63346377abad7aaf4fb950f47c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkVDOjIzRTlEMTo3MjdEMjo5OUUyODo2QTREOEM3QiIsInZpc2l0b3JfaWQiOiIzMzM4MTU3ODk5NzQyMjg0OTIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdcbc311732df5076eaa944e92f94eedc7a24e5395ed8a720a87659c4904b428f
hovercard-subject-tagpull_request:3247947180
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/sourcebot-dev/sourcebot/853/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/52da3f74f114e4e14594c2e9b360c18b75edf11fe949d130e161b926415f3b19/sourcebot-dev/sourcebot/pull/853
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52da3f74f114e4e14594c2e9b360c18b75edf11fe949d130e161b926415f3b19/sourcebot-dev/sourcebot/pull/853
og:image:altAdd AES-256-GCM encryption for OAuth access and refresh tokens Create EncryptedPrismaAdapter wrapping Auth.js PrismaAdapter Implement automatic encryption on token storage and decryption on usage S...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameharrison-xrb
hostnamegithub.com
expected-hostnamegithub.com
None9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320
turbo-cache-controlno-cache
go-importgithub.com/sourcebot-dev/sourcebot git https://github.com/sourcebot-dev/sourcebot.git
octolytics-dimension-user_id135396723
octolytics-dimension-user_loginsourcebot-dev
octolytics-dimension-repository_id846729675
octolytics-dimension-repository_nwosourcebot-dev/sourcebot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id846729675
octolytics-dimension-repository_network_root_nwosourcebot-dev/sourcebot
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
releasebffd5484f01713a661b03469b77678f72b6574ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sourcebot-dev/sourcebot/pull/853#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F853
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F853
Sign up https://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=sourcebot-dev%2Fsourcebot
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/853
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/853
Reloadhttps://github.com/sourcebot-dev/sourcebot/pull/853
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
sourcebot-dev https://github.com/sourcebot-dev
sourcebothttps://github.com/sourcebot-dev/sourcebot
Notifications https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Fork 316 https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Star 3.6k https://github.com/login?return_to=%2Fsourcebot-dev%2Fsourcebot
Code https://github.com/sourcebot-dev/sourcebot
Issues 93 https://github.com/sourcebot-dev/sourcebot/issues
Pull requests 38 https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality 0 https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
Code https://github.com/sourcebot-dev/sourcebot
Issues https://github.com/sourcebot-dev/sourcebot/issues
Pull requests https://github.com/sourcebot-dev/sourcebot/pulls
Discussions https://github.com/sourcebot-dev/sourcebot/discussions
Actions https://github.com/sourcebot-dev/sourcebot/actions
Security and quality https://github.com/sourcebot-dev/sourcebot/security
Insights https://github.com/sourcebot-dev/sourcebot/pulse
brendan-kellamhttps://github.com/brendan-kellam
sourcebot-dev:mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
harrison-xrb:feat/improve-account-token-handlinghttps://github.com/harrison-xrb/sourcebot/tree/feat/improve-account-token-handling
Conversationhttps://github.com/sourcebot-dev/sourcebot/pull/853
Commits6 (6)https://github.com/sourcebot-dev/sourcebot/pull/853/commits
Checkshttps://github.com/sourcebot-dev/sourcebot/pull/853/checks
Files changedhttps://github.com/sourcebot-dev/sourcebot/pull/853/files
feat(auth): Implement encrypted storage for OAuth account tokenshttps://github.com/sourcebot-dev/sourcebot/pull/853#top
brendan-kellamhttps://github.com/brendan-kellam
sourcebot-dev:mainhttps://github.com/sourcebot-dev/sourcebot/tree/main
harrison-xrb:feat/improve-account-token-handlinghttps://github.com/harrison-xrb/sourcebot/tree/feat/improve-account-token-handling
https://github.com/harrison-xrb
harrison-xrbhttps://github.com/harrison-xrb
Feb 5, 2026https://github.com/sourcebot-dev/sourcebot/pull/853#issue-3898980704
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
https://github.com/harrison-xrb
feat(auth): Implement encrypted storage for OAuth account tokenshttps://github.com/sourcebot-dev/sourcebot/pull/853/commits/aa8c06b9aa7cd7028cfbc4dac6bfea0a3d2a5da5
aa8c06bhttps://github.com/sourcebot-dev/sourcebot/pull/853/commits/aa8c06b9aa7cd7028cfbc4dac6bfea0a3d2a5da5
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Feb 5, 2026https://github.com/sourcebot-dev/sourcebot/pull/853#issuecomment-3850375776
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
feat(auth): Implement encrypted storage for OAuth account tokens #853https://github.com/sourcebot-dev/sourcebot/pull/853
chore(worker): Refactor permission syncing join table to be between Account <> Repo #600https://github.com/sourcebot-dev/sourcebot/pull/600
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=sourcebot-dev/sourcebot&utm_content=853
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
https://github.com/brendan-kellam
Merge branch 'main' into feat/improve-account-token-handlinghttps://github.com/sourcebot-dev/sourcebot/pull/853/commits/09b06c1740fbdac6ed1e45ee5fd626c26b85b7d3
09b06c1https://github.com/sourcebot-dev/sourcebot/pull/853/commits/09b06c1740fbdac6ed1e45ee5fd626c26b85b7d3
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
February 5, 2026 02:37https://github.com/sourcebot-dev/sourcebot/pull/853#event-22545595839
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Feb 5, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#pullrequestreview-3754225789
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/853/files/09b06c1740fbdac6ed1e45ee5fd626c26b85b7d3
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/853#pullrequestreview-3754225789
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
packages/shared/src/crypto.tshttps://github.com/sourcebot-dev/sourcebot/pull/853/files/09b06c1740fbdac6ed1e45ee5fd626c26b85b7d3#diff-ce54d9c6936e760f4995af3b25e31e6a6d566fde729deaef614cd9ea6750ccad
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
packages/web/src/lib/encryptedPrismaAdapter.tshttps://github.com/sourcebot-dev/sourcebot/pull/853/files/09b06c1740fbdac6ed1e45ee5fd626c26b85b7d3#diff-ca66d33b2516da1b63182980cb32555d395e68b5cbdc196b2f32b13fc49e4932
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
brendan-kellamhttps://github.com/brendan-kellam
February 4, 2026 20:36https://github.com/sourcebot-dev/sourcebot/pull/853#commits-pushed-3d2db95
https://github.com/brendan-kellam
feedbackhttps://github.com/sourcebot-dev/sourcebot/pull/853/commits/3d2db959469af2cbdc7b58bc477c64880a41d62d
3d2db95https://github.com/sourcebot-dev/sourcebot/pull/853/commits/3d2db959469af2cbdc7b58bc477c64880a41d62d
https://github.com/brendan-kellam
JWE token decryption utilityhttps://github.com/sourcebot-dev/sourcebot/pull/853/commits/c6de4f54f5144e88aa88cc406a4d40113a007275
c6de4f5https://github.com/sourcebot-dev/sourcebot/pull/853/commits/c6de4f54f5144e88aa88cc406a4d40113a007275
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Feb 5, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#pullrequestreview-3754534783
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/853/files/c6de4f54f5144e88aa88cc406a4d40113a007275
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/853#pullrequestreview-3754534783
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
packages/web/tools/decryptJWE.tshttps://github.com/sourcebot-dev/sourcebot/pull/853/files/c6de4f54f5144e88aa88cc406a4d40113a007275#diff-4e218c6dec0ed998bcf8e221005081a015d3209a813f29eeee9e5b74c01d064a
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
https://github.com/brendan-kellam
change token refresh handling to source provider info from DB instead…https://github.com/sourcebot-dev/sourcebot/pull/853/commits/7c432e584e3a8eacd69ff415ff15ebf11f387894
7c432e5https://github.com/sourcebot-dev/sourcebot/pull/853/commits/7c432e584e3a8eacd69ff415ff15ebf11f387894
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Feb 5, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#pullrequestreview-3754772781
View reviewed changes https://github.com/sourcebot-dev/sourcebot/pull/853/files/7c432e584e3a8eacd69ff415ff15ebf11f387894
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/853#pullrequestreview-3754772781
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
packages/web/src/ee/features/permissionSyncing/tokenRefresh.tshttps://github.com/sourcebot-dev/sourcebot/pull/853/files/7c432e584e3a8eacd69ff415ff15ebf11f387894#diff-160482b132dba34d379fb24bf18c8cad7df003a0b2736cf727bd84da2ba3305e
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
https://github.com/brendan-kellam
changeloghttps://github.com/sourcebot-dev/sourcebot/pull/853/commits/e7fd7bb38c1ee85f294f93d218499d8453567666
e7fd7bbhttps://github.com/sourcebot-dev/sourcebot/pull/853/commits/e7fd7bb38c1ee85f294f93d218499d8453567666
https://github.com/brendan-kellam
brendan-kellamhttps://github.com/brendan-kellam
9aecbefhttps://github.com/sourcebot-dev/sourcebot/commit/9aecbef74d5308dd4b46f5e55102d487ff729302
Feb 5, 2026https://github.com/sourcebot-dev/sourcebot/pull/853#event-22549096895
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 5, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#ref-issue-3315242343
Sourcebot Roadmap 🚀 #459 https://github.com/sourcebot-dev/sourcebot/issues/459
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Feb 6, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#ref-pullrequest-3884418218
fix(web): Fix token refresh in back-compat case #841 https://github.com/sourcebot-dev/sourcebot/pull/841
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Feb 24, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#ref-pullrequest-3981660475
feat(backend): add Bitbucket Cloud permission syncing #925 https://github.com/sourcebot-dev/sourcebot/pull/925
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 5, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#ref-pullrequest-4024400857
feat(web): [EE] OAuth2 authorization server with MCP support #977 https://github.com/sourcebot-dev/sourcebot/pull/977
chore(web): make session and OAuth token lifetimes configurable #1162 https://github.com/sourcebot-dev/sourcebot/pull/1162
feat(web): JWT session versioning and credential revocation on org removal #1168 https://github.com/sourcebot-dev/sourcebot/pull/1168
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 17, 2026 https://github.com/sourcebot-dev/sourcebot/pull/853#ref-pullrequest-4679417043
fix: normalize default SOURCEBOT_ENCRYPTION_KEY to 32 characters #1311 https://github.com/sourcebot-dev/sourcebot/pull/1311
https://github.co/hiddenchars
https://github.com/sourcebot-dev/sourcebot/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%2Fsourcebot-dev%2Fsourcebot%2Fpull%2F853
https://github.com/brendan-kellam
brendan-kellam https://github.com/brendan-kellam
https://github.com/sourcebot-dev/sourcebot/pull/853/files/09b06c1740fbdac6ed1e45ee5fd626c26b85b7d3
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/sourcebot-dev/sourcebot/pull/853/files/7c432e584e3a8eacd69ff415ff15ebf11f387894
Please reload this pagehttps://github.com/sourcebot-dev/sourcebot/pull/853
https://github.com/harrison-xrb
https://github.com/brendan-kellam
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.