René's URL Explorer Experiment


Title: fix(integrations): complete account connections in place by waleedlatif1 · Pull Request #8493 · simstudioai/sim · GitHub

Open Graph Title: fix(integrations): complete account connections in place by waleedlatif1 · Pull Request #8493 · simstudioai/sim

X Title: fix(integrations): complete account connections in place by waleedlatif1 · Pull Request #8493 · simstudioai/sim

Description: Summary Keep account connection and reconnect on the originating Integrations page, with automatic refresh and a same-tab fallback when popups are unavailable. Complete managed MCP authorization directly while preserving invitation submission and existing Search flows. Correlate browser and desktop completion per attempt, prevent overlapping starts, and preserve the selected OAuth credential during reconnect. Type of Change Bug fix Testing 197 focused and neighboring tests; five new callback/state regressions demonstrated failing before the fix. Browser/Electron E2E: 13 lifecycle checks covering completion, cancellation, reconnect, preserved page state, popup fallback, separate sessions, and invitation compatibility. JSON report and screenshot generated; CI uploads failure artifacts. App and desktop type checks, lint, 52 audits, block registry validation, and docs manifest check. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Keep account connection and reconnect on the originating Integrations page, with automatic refresh and a same-tab fallback when popups are unavailable. Complete managed MCP authorization d...

X Description: Summary Keep account connection and reconnect on the originating Integrations page, with automatic refresh and a same-tab fallback when popups are unavailable. Complete managed MCP authorization d...

Opengraph URL: https://github.com/simstudioai/sim/pull/8493

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7d248244-9038-e089-edf0-196d4c2325e5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA0B4:2E1019:A4BE1E:E2DE66:6AFBDCE5
html-safe-nonce2ab27b975caa25bbdf42e0a8af086255c32b827444571c139491667a2bed3d23
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMEI0OjJFMTAxOTpBNEJFMUU6RTJERTY2OjZBRkJEQ0U1IiwidmlzaXRvcl9pZCI6IjQ2Njc2MDg1MjU5MzU3Mjk4OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace1889278e4c811ea9a91c1129c8dd234e5ee03494f608c12623522e2734b9aee
hovercard-subject-tagpull_request:4697643223
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8493/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Keep account connection and reconnect on the originating Integrations page, with automatic refresh and a same-tab fallback when popups are unavailable. Complete managed MCP authorization d...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8493/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8493%2Ffiles
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%2Fsimstudioai%2Fsim%2Fpull%2F8493%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/8493/files
Reloadhttps://github.com/simstudioai/sim/pull/8493/files
Reloadhttps://github.com/simstudioai/sim/pull/8493/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
codex/integrations-connect-lifecyclehttps://github.com/simstudioai/sim/tree/codex/integrations-connect-lifecycle
Conversation 17 https://github.com/simstudioai/sim/pull/8493
Commits 2 https://github.com/simstudioai/sim/pull/8493/commits
Checks 35 https://github.com/simstudioai/sim/pull/8493/checks
Files changed https://github.com/simstudioai/sim/pull/8493/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8493/files
fix(integrations): complete account connections in place https://github.com/simstudioai/sim/pull/8493/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/8493/files
08692a4 fix(integrations): complete account connections in place waleedlatif1 Oct 1, 2026 https://github.com/simstudioai/sim/pull/8493/commits/08692a4df70b044e20c3ec6753eba584bd8ec53d
7e18c94 fix(integrations): preserve active account authorizations waleedlatif1 Oct 1, 2026 https://github.com/simstudioai/sim/pull/8493/commits/7e18c9466202fcfff697c4418c34553e5425915a
Clear filters https://github.com/simstudioai/sim/pull/8493/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8493/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8493/files
source-connect.spec.ts https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
enrollment-redirect.ts https://github.com/simstudioai/sim/pull/8493/files#diff-d4895c92676097fd579bd6f4a933c33ae9e816170e19763a2ea3e8c9d60cbea6
oauth-callback.test.ts https://github.com/simstudioai/sim/pull/8493/files#diff-7f95e2116ef73286c1c1df12d2382192358f73cf72a32db50e9ac8bb798506cd
oauth-callback.ts https://github.com/simstudioai/sim/pull/8493/files#diff-8ff298376df7d8a0f091ba2be323a81cf8ee74b7a217dcef868f82cde359fb05
route.test.ts https://github.com/simstudioai/sim/pull/8493/files#diff-14986fb8f95dce9ca6cffd0e956ad3470520489d021931a937e1162e93610b1c
route.ts https://github.com/simstudioai/sim/pull/8493/files#diff-fddc94965e6ed092dfac21e607fbef44888d286f2a177502cf531e9ca01bd1ce
route.ts https://github.com/simstudioai/sim/pull/8493/files#diff-964f289a08b13a229f21817b02392406c7ceabb62345319156bb3553d56e1846
route.ts https://github.com/simstudioai/sim/pull/8493/files#diff-6b6555fdc1f614e25dd41e82be793ba88b2e9b5241ae1a71b0713bc75c438100
completion-handoff.tsx https://github.com/simstudioai/sim/pull/8493/files#diff-bde9b462a897112677824c3760323acd8d95c5cf6037c322e80cef9b6446c8bb
page.tsx https://github.com/simstudioai/sim/pull/8493/files#diff-7b0efe8632f776153c0b5536b78d615623724f3cc80a4d5466031caf87545297
github-member-integration.tsx https://github.com/simstudioai/sim/pull/8493/files#diff-963ef9f7e3b71064b8108b0bf24011bc6dc651fb687e2b47a78b10297f4fbe72
integrations.test.tsx https://github.com/simstudioai/sim/pull/8493/files#diff-b1b030d6470e584c6b3b94fb3cde5eb6c6e79da4239b0f7a477163ec5357aa8b
live-member-integrations.tsx https://github.com/simstudioai/sim/pull/8493/files#diff-be11b6a50872d14f32d53ff65377bb840f42af80c014e7aec882cba575d89f5c
organization-accounts.ts https://github.com/simstudioai/sim/pull/8493/files#diff-aec8b915cc9ea06c38f3fce337aee2bab9b0b686554c3086626af2c3313d7a75
desktop-source-connect.ts https://github.com/simstudioai/sim/pull/8493/files#diff-39bfc033c21fb3b0371c3f4ff9e6a15688aac384c9ac1a24e5c31dcb2d188438
organization-accounts.ts https://github.com/simstudioai/sim/pull/8493/files#diff-d1c89efc8d01a0fdd274152449f9e5dc03f7ee6e31dc116116cb97157b13e019
organization-accounts.ts https://github.com/simstudioai/sim/pull/8493/files#diff-d98ef8718e20e045dce8b99a4ebb36650d73ce4fd94052ce72f6c7b5a47617f4
personal-organization-accounts.ts https://github.com/simstudioai/sim/pull/8493/files#diff-cec34aae5c8ed436d90b48ac0f9d43ca9daa6966a8968b8a647fb772b97e79a4
mcp-oauth-state.test.ts https://github.com/simstudioai/sim/pull/8493/files#diff-28b34896da5cd69bbf561b3a7fe60943f1d58465f8138ee79e50e61d16b5c0ea
mcp-oauth-state.ts https://github.com/simstudioai/sim/pull/8493/files#diff-5f70c54bdc6a035698e925110fafb62321079e304ca516d4dc6c793c7e0a5e18
mcp-oauth.ts https://github.com/simstudioai/sim/pull/8493/files#diff-8c7c04f2c3e9f5a41f1fc5309818d0f39dcf19d2e86d2f1433b085d59b9c1bc4
oauth-popup.ts https://github.com/simstudioai/sim/pull/8493/files#diff-3ef53d4fbe36db65ba239802976da268995872300b3c8e7760a63a4ff576223f
oauth-state.ts https://github.com/simstudioai/sim/pull/8493/files#diff-0ecdaaabbba8c594accb09c4987b826af1a7d9c3357b3f47e074b36672a4cee1
oauth.ts https://github.com/simstudioai/sim/pull/8493/files#diff-e5c54844cc43c554d3ea28fc138ccfaa9d12e43bcd06ea556c703c3749cf42b6
self-enrollment-oauth.ts https://github.com/simstudioai/sim/pull/8493/files#diff-7ac350c4454b21476657bbf4935e6c995107752354645ca2ce499780a624e4ab
source-browser.ts https://github.com/simstudioai/sim/pull/8493/files#diff-296e0cf7cf4f08a7cd9d7ba27af296834c0e0ef7f3ab9c70c0af4c20512bf202
desktop-source-connect.tsx https://github.com/simstudioai/sim/pull/8493/files#diff-f5c3bc53b7c965647e3242f8f759a04d7a29f21f3a2053180422abf5c683650f
apps/desktop/e2e/source-connect.spec.tshttps://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
View file https://github.com/simstudioai/sim/blob/7e18c9466202fcfff697c4418c34553e5425915a/apps/desktop/e2e/source-connect.spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8493/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
https://github.com/simstudioai/sim/pull/8493/files#diff-58232b2d85e7dc97792c5cf1720f773e3364bb85886bd10f49abf1900383596e
apps/sim/app/api/credential-groups/enrollment-redirect.tshttps://github.com/simstudioai/sim/pull/8493/files#diff-d4895c92676097fd579bd6f4a933c33ae9e816170e19763a2ea3e8c9d60cbea6
View file https://github.com/simstudioai/sim/blob/7e18c9466202fcfff697c4418c34553e5425915a/apps/sim/app/api/credential-groups/enrollment-redirect.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8493/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8493/files#diff-d4895c92676097fd579bd6f4a933c33ae9e816170e19763a2ea3e8c9d60cbea6
https://github.com/simstudioai/sim/pull/8493/files#diff-d4895c92676097fd579bd6f4a933c33ae9e816170e19763a2ea3e8c9d60cbea6
apps/sim/app/api/credential-groups/oauth-callback.test.tshttps://github.com/simstudioai/sim/pull/8493/files#diff-7f95e2116ef73286c1c1df12d2382192358f73cf72a32db50e9ac8bb798506cd
View file https://github.com/simstudioai/sim/blob/7e18c9466202fcfff697c4418c34553e5425915a/apps/sim/app/api/credential-groups/oauth-callback.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8493/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8493/files#diff-7f95e2116ef73286c1c1df12d2382192358f73cf72a32db50e9ac8bb798506cd
apps/sim/app/api/credential-groups/oauth-callback.tshttps://github.com/simstudioai/sim/pull/8493/files#diff-8ff298376df7d8a0f091ba2be323a81cf8ee74b7a217dcef868f82cde359fb05
View file https://github.com/simstudioai/sim/blob/7e18c9466202fcfff697c4418c34553e5425915a/apps/sim/app/api/credential-groups/oauth-callback.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8493/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8493/files#diff-8ff298376df7d8a0f091ba2be323a81cf8ee74b7a217dcef868f82cde359fb05
https://github.com/simstudioai/sim/pull/8493/files#diff-8ff298376df7d8a0f091ba2be323a81cf8ee74b7a217dcef868f82cde359fb05
https://github.com/simstudioai/sim/pull/8493/files#diff-8ff298376df7d8a0f091ba2be323a81cf8ee74b7a217dcef868f82cde359fb05
https://github.com/simstudioai/sim/pull/8493/files#diff-8ff298376df7d8a0f091ba2be323a81cf8ee74b7a217dcef868f82cde359fb05
apps/sim/app/api/mcp/oauth/callback/route.test.tshttps://github.com/simstudioai/sim/pull/8493/files#diff-14986fb8f95dce9ca6cffd0e956ad3470520489d021931a937e1162e93610b1c
View file https://github.com/simstudioai/sim/blob/7e18c9466202fcfff697c4418c34553e5425915a/apps/sim/app/api/mcp/oauth/callback/route.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8493/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8493/files#diff-14986fb8f95dce9ca6cffd0e956ad3470520489d021931a937e1162e93610b1c
https://github.com/simstudioai/sim/pull/8493/files#diff-14986fb8f95dce9ca6cffd0e956ad3470520489d021931a937e1162e93610b1c
https://github.com/simstudioai/sim/pull/8493/files#diff-14986fb8f95dce9ca6cffd0e956ad3470520489d021931a937e1162e93610b1c
https://github.com/simstudioai/sim/pull/8493/files#diff-14986fb8f95dce9ca6cffd0e956ad3470520489d021931a937e1162e93610b1c
Please reload this pagehttps://github.com/simstudioai/sim/pull/8493/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8493/files
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.