| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:837d4494-39e2-de89-3530-77cbf042df56 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BBD8:11532:5B32DA:820300:6AFB42EE |
| html-safe-nonce | 49608e8aaba7b4452db949b8980cdca6cd5b6a87898455e8857051ccb2e7dbe3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkQ4OjExNTMyOjVCMzJEQTo4MjAzMDA6NkFGQjQyRUUiLCJ2aXNpdG9yX2lkIjoiNjU0NDMwMjM4NDM2Nzc0NzgyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3ba2973bde844cc7d11f7ae2d8430cad947fc9f0dcdf12cde1c0da3b1e5c0c68 |
| hovercard-subject-tag | pull_request:4120900832 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5909/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Adds org-scoped domain ownership verification (DNS TXT challenge) as the security precondition for configuring SSO — closes the first-come domain-claim vuln where any org could point anoth... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a6c2f87cbcb6414452377b4967858ed6a66f1109 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/5909/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5909%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5909%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/5909/files |
| Reload | https://github.com/simstudioai/sim/pull/5909/files |
| Reload | https://github.com/simstudioai/sim/pull/5909/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests200 (200) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| feat/sso-domain-verification | https://github.com/simstudioai/sim/tree/feat/sso-domain-verification |
|
Conversation
93
| https://github.com/simstudioai/sim/pull/5909 |
|
Commits
18
| https://github.com/simstudioai/sim/pull/5909/commits |
|
Checks
19
| https://github.com/simstudioai/sim/pull/5909/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/5909/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5909/files |
|
feat(sso): DNS domain verification gating org SSO registration
| https://github.com/simstudioai/sim/pull/5909/files#top |
|
Show all changes
18 commits
| https://github.com/simstudioai/sim/pull/5909/files |
|
5f9f3e6
feat(sso): DNS domain verification gating org SSO registration
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/5f9f3e6c3caa0bea66aab4596feacd99bbc0fd25 |
|
c27a28a
fix(sso): harden domain verification against concurrency + fix CI lint
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/c27a28a5a4d36c080690f50e67e6dfc41ba40281 |
|
6fc3224
fix(sso): re-check domain verification before provider write (TOCTOU)
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/6fc3224806e8c0a834698555e03906c67150f9b7 |
|
16f92b5
fix(sso): stop rotating verification token on idempotent re-add
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/16f92b55ec79817c1bfe0a8572194ab79cf21837 |
|
1995af7
fix(sso): close register TOCTOU with compensating delete + harden edges
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/1995af7e82fb3e1ebaed8a0929721808c6d4dda3 |
|
99b4f13
fix(sso): redact domain tokens from non-admins + fix script stale-update
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/99b4f13032da0cb78b0c807bbd35150f9d9eef86 |
|
64fceab
docs(sso): drop unshipped enforce-SSO / auto-join copy from verified …
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/64fceab13581a6e12a083111898614407fcc28b2 |
|
1e33e89
fix(sso): guard rollback to new providers only + Enterprise-gate doma…
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/1e33e8911aab382a5a5a2d15bf5560e2b0a3e610 |
|
44bf72c
fix(sso): roll back the SSO provider by row id, not logical keys
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/44bf72c4cc44eb47fc1180adbea9bd8f8597f5a2 |
|
98c54f6
chore(sso): final-review polish — trim script read, unify copy, doc m…
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/98c54f6d8e72beebbd224edaf53947edb1617022 |
|
b4c7a34
fix(sso): apply attribute mapping + make SSO edit work; drop dead guard
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/b4c7a34793c0485ced87501e8793abb261bde0e0 |
|
bb9637a
fix(sso): require null org on personal-mode provider lookups (gate by…
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/bb9637a58bfce7e33cc1268ca222c0ae084723ba |
|
464e7e0
fix(sso): script updates the observed provider by id, not providerId
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/464e7e0247f9e46b2ed4386978bc85e13f9f6c2b |
|
b37655e
fix(sso): script upserts provider via delete-then-insert (no unique c…
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/b37655e7dbeaa6e8137230ccdc113c55dba70aba |
|
c106d87
fix(sso): guard compensating-delete row id so rollback can't silently…
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/c106d87bae4fe60890139764497089f142bf1c9b |
|
c03f389
Merge remote-tracking branch 'origin/staging' into feat/sso-domain-ve…
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/c03f38942216e2ac7a86f18acbc61a9510841855 |
|
dce6d63
chore(sso): regenerate migration as 0268 after merging staging
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/dce6d6393b3ad704214baa15d0a5ae178b5115af |
|
085a962
refactor(sso): share normalizeSSODomain via @sim/utils so script matc…
waleedlatif1 Jul 24, 2026
| https://github.com/simstudioai/sim/pull/5909/commits/085a962345de9945bee4f2aa83387081b0c7d01a |
|
Clear filters
| https://github.com/simstudioai/sim/pull/5909/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5909/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5909/files |
|
meta.json
| https://github.com/simstudioai/sim/pull/5909/files#diff-996b06d2f12c039789754d691ec2e17ddea776a87f3bea9e191f3d59a47220e4 |
|
verified-domains.mdx
| https://github.com/simstudioai/sim/pull/5909/files#diff-e548e70a00459ee944c3e1c87fdc05457daa2a5795b51143c6ee85457721bbd7 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
route.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-9c7c8c68e412f03f38ccb4dc51f2ab7a802d67c6d9c9b6de615e4509aafabe7c |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-33b8e0933adc3f459193a9b91508a30d0d52689e9d33331c532f7512f4524082 |
|
route.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-d6f27b4f6b38db8d74c4c443e9f7d3f1a4f4601d2d6b65ec34fd472f3b1a1741 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-05a9b4d35fbae9639578a050f1d82c44bdb9f3c9399c2bd78b1a733ccb8469f9 |
|
route.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-29df4ea82eab18d3f740874a6993479f27e5d36b9cb3fc1cf08db485f0e3fbb0 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-31307bbee9452f4daac4c56bd2c6e4fbdc596feeb72c13f54cf3caf337e70e5d |
|
route.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-41f53b00eb6c3b40bf95489b73d0635e6ef49db3fe0f143afcc577c70ab649c7 |
|
settings.tsx
| https://github.com/simstudioai/sim/pull/5909/files#diff-a82a043ca7a7736b97bf6a5385a54339c186c7a782a1bd4d3e61c87c6ac2975d |
|
navigation.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-4e76e2b7b0672536b8ca63b35adbfa378d8dc181b46da8b982bf6a117af68258 |
|
navigation.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-62686a474bf0fd1ca1f7d5ad4b2652b3a9dcdedc6e9a128f8fad75b1315f4ae3 |
|
navigation.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-a7b9aa7de628a7c413599eb668d16b706165d104e5913308c2ef6f9253e3f272 |
|
organization-settings-renderer.tsx
| https://github.com/simstudioai/sim/pull/5909/files#diff-399c8521a117f8f0f2fe5d72825ad452bda6c9bd3cb936adbd0e6f59d345b76a |
|
domain-settings.tsx
| https://github.com/simstudioai/sim/pull/5909/files#diff-ab85eb66ba7d386b214d56d272660164e13cddd9703bcb356d0dfce09f2c02c4 |
|
domains.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-1810f65ad8565997765dfef2bbc5f645ac8aea26623dfebcdb01eeab9ecb4f95 |
|
organization.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-589c92452da41752ecc4e89e1da6948c485eb8dbf0da7b924126e46eb18f08bc |
|
domain-verification.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-dd271c6e10feda2971276a50f78f804f37caf57d0b0aa17b327fd62db36de9da |
|
domain-verification.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-ef69af511644a483081f2c9e1ca6289d6afbda31d1f1b50e3f2cacd80dc847a0 |
|
types.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-0c4c4527875ffe443d3b9bc35837c1dfb53d8918c2751deafbc08896fd8d5731 |
|
0268_sso_domain_verification.sql
| https://github.com/simstudioai/sim/pull/5909/files#diff-c4bab6446743ad363f2f37ae18036667e51a82b902307bf66332a70941135837 |
|
0268_snapshot.json
| https://github.com/simstudioai/sim/pull/5909/files#diff-559ae347524fcc9d03e01373043412a23aa65532929e28d8d6957fbdc45cb48c |
|
_journal.json
| https://github.com/simstudioai/sim/pull/5909/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649 |
|
schema.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928 |
|
register-sso-provider.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-49c7d2db2f91dddae11f8d4448d4c47f292652a03e79bdf4e48fc52ce46f07da |
|
audit.mock.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-ddbf3f281bccb1e55eb3765c29403087addedc24fb5f99c437c69a9a412c1e91 |
|
schema.mock.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-3b648ee44a059e5fc069169fdfd7c32c89200a3e79b5d0dc25227d3470da73af |
|
package.json
| https://github.com/simstudioai/sim/pull/5909/files#diff-21f8eb1d7a149d42ab0454ea905d44f624ff1d0aeb6d7a88d75b42962ca6b053 |
|
index.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-4de4f541bddba72ba0a8692d8e366b2b8498d0a1bae6d3cb225fd3346571d567 |
|
sso-domain.test.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-49b1e0ab97ec509cc3e2b4d693f1d3edf72b1bc50fdbab162eb29a0f3a24ce47 |
|
sso-domain.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-299bf2052b01710bb27ad1544aa8602a27742a2ffbd7cfe90999c7024407cd9a |
|
check-api-validation-contracts.ts
| https://github.com/simstudioai/sim/pull/5909/files#diff-48ae6a4d0c1f820d5b644522d25742bb29af758bc8350f1a3cf3f8afa0bd00b0 |
| apps/docs/content/docs/en/platform/enterprise/meta.json | https://github.com/simstudioai/sim/pull/5909/files#diff-996b06d2f12c039789754d691ec2e17ddea776a87f3bea9e191f3d59a47220e4 |
|
View file
| https://github.com/simstudioai/sim/blob/085a962345de9945bee4f2aa83387081b0c7d01a/apps/docs/content/docs/en/platform/enterprise/meta.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5909/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-996b06d2f12c039789754d691ec2e17ddea776a87f3bea9e191f3d59a47220e4 |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-996b06d2f12c039789754d691ec2e17ddea776a87f3bea9e191f3d59a47220e4 |
| apps/docs/content/docs/en/platform/enterprise/verified-domains.mdx | https://github.com/simstudioai/sim/pull/5909/files#diff-e548e70a00459ee944c3e1c87fdc05457daa2a5795b51143c6ee85457721bbd7 |
|
View file
| https://github.com/simstudioai/sim/blob/085a962345de9945bee4f2aa83387081b0c7d01a/apps/docs/content/docs/en/platform/enterprise/verified-domains.mdx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5909/{{ revealButtonHref }} |
| apps/sim/app/api/auth/sso/register/route.test.ts | https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
View file
| https://github.com/simstudioai/sim/blob/085a962345de9945bee4f2aa83387081b0c7d01a/apps/sim/app/api/auth/sso/register/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/5909/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/5909/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
| Please reload this page | https://github.com/simstudioai/sim/pull/5909/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/5909/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |