| 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:3cc2b228-ee0e-68a7-d34d-9c43e182c9e7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9244:AE1F3:1271B8:1A18D2:6AFB4C8F |
| html-safe-nonce | 47cd8d2fd05280527f932c0c2bc7e352c8b7ac7b397e27c5dad1a5cbdc58772c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjQ0OkFFMUYzOjEyNzFCODoxQTE4RDI6NkFGQjRDOEYiLCJ2aXNpdG9yX2lkIjoiNjE1MjE4NTE3NTAyNTQ1MDM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | def3222c07b339d18347156649c6217580411f862fe583ee2687ecbd29b25694 |
| hovercard-subject-tag | pull_request:4217916385 |
| 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/6311/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
Set domainVerified on SSO providers so an SSO sign-in links to an existing same-email account. Better Auth 1.6.23 passes trustProviderByName: false, which disables the trustedProviders all... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1 |
| 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 | 26504db649b58525278f77a52b80ba5f10d5f4de |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/6311/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6311%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%2F6311%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/6311/files |
| Reload | https://github.com/simstudioai/sim/pull/6311/files |
| Reload | https://github.com/simstudioai/sim/pull/6311/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 requests197 (197) | 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 |
| worktree-sso-domain-verify-audit | https://github.com/simstudioai/sim/tree/worktree-sso-domain-verify-audit |
|
Conversation
121
| https://github.com/simstudioai/sim/pull/6311 |
|
Commits
24
| https://github.com/simstudioai/sim/pull/6311/commits |
|
Checks
30
| https://github.com/simstudioai/sim/pull/6311/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/6311/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6311/files |
|
fix(sso): link Entra sign-ins to existing accounts and enforce unique provider IDs
| https://github.com/simstudioai/sim/pull/6311/files#top |
|
Show all changes
24 commits
| https://github.com/simstudioai/sim/pull/6311/files |
|
b6eb0c8
fix(sso): link Entra sign-ins to existing accounts and enforce unique…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/b6eb0c8cbfea0b932a9499ffaf3826e8b24fa99c |
|
e4b9fcc
fix(sso): revoke domain trust when verification is removed mid-update
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/e4b9fcce09445888346aa136dc872f66a4b804e7 |
|
a0bd392
fix(sso): make domain-trust grants atomic and propagate revocation
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/a0bd3923bb24bf31df15a2ec79d3c5d04cab5cf4 |
|
4dea2d4
fix(sso): report a refused domain-trust grant instead of returning su…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/4dea2d4176c0014f7edf21fadfba87450dd90a20 |
|
016dbba
feat(sso): let admins map IdP claims, and trim setup comments
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/016dbbae924ab2df5e4bb073ec67e0afa491fdf9 |
|
1a0203e
feat(sso): expose the standard enterprise IdP options in the setup form
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/1a0203e2c6171011871ac1fb486387cfe963f507 |
|
ec38a1a
fix(sso): withhold domain trust from personal providers on the hosted…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/ec38a1aa68d52a8462817c23bf5929689eaf54e5 |
|
7c3aa3b
docs(sso): correct the personal-provider trust note after the hosted …
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/7c3aa3bd22a8a94def818ff1abc8a2af061bdcb6 |
|
15cc971
fix(sso): drop the inert SAML algorithm selects, make NameID format c…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/15cc971e7b6cc96205898d135f3f4c1b7ea65244 |
|
715c6ec
docs(sso): tighten the personal-provider note to the self-host path i…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/715c6ec072016036098a4eb6dec0592c1765f302 |
|
91332e2
fix(sso): forward an empty SAML NameID format so the provider default…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/91332e25865e3b46d9b0c98866b5a0ff76f03d9b |
|
33e2cee
fix(sso): revoke trust for providers whose domain is spelled with a w…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/33e2cee4d244f6381618c27cc518b7c5c6aa4c7a |
|
afd7e27
fix(db): give the SSO index migration the concurrent-build convention…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/afd7e276ff638564285bd6c1b5b480de005e0057 |
|
db92d43
fix(sso): give the Enter shortcut the same guard as the Add domain bu…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/db92d43a1fc7ec98203e51ae4e3bc316b40c1148 |
|
833932a
fix(sso): stop the provider ID being editable after it is saved
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/833932a31b3712a5dd9744d105a8caa66dc62778 |
|
2318480
fix(sso): stop persisting generated IdP metadata so SAML cert rotatio…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/231848073d75e5ab5a96a6cbcd6c425bd6db44ff |
|
e9949e9
fix(sso): always write SAML IdP metadata so clearing it takes effect …
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/e9949e94bb849e2efd8d4a08e1752930047bac63 |
|
c564441
fix(sso): hold the domain proof under a row lock while granting trust
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/c5644414a57392c320aa6aed6fbbcaeb67fb3a16 |
|
eedc242
refactor(sso): write the two merge-sensitive SAML fields the same way
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/eedc242e581938b8f5b876370c9ed01d3e6cb30d |
|
ee5fd2d
fix(sso): report the row the trust grant actually matched
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/ee5fd2ddd25187bedbc19f92805168004656bf1b |
|
9fff2d3
fix(sso): restore provider domain trust when a domain is re-verified
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/9fff2d335b40bf1c744b83e9f96a26307a2ffa9b |
|
c6b9d66
fix(sso): correct the domain-removal warning now that it disables sig…
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/c6b9d66d604502e24387ccf4cedc57a33cb0bdae |
|
27ade42
chore(sso): trim verbose comments
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/27ade42ced9f797a177cfa2986c11605853a6a5d |
|
7b735e4
fix(sso): revert a rejected SSO update instead of leaving it stored
waleedlatif1 Aug 6, 2026
| https://github.com/simstudioai/sim/pull/6311/commits/7b735e4d9936f8fb6fa5636e2e18d168b039ddb8 |
|
Clear filters
| https://github.com/simstudioai/sim/pull/6311/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6311/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6311/files |
|
sso.mdx
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
route.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-9c7c8c68e412f03f38ccb4dc51f2ab7a802d67c6d9c9b6de615e4509aafabe7c |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-33b8e0933adc3f459193a9b91508a30d0d52689e9d33331c532f7512f4524082 |
|
route.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-d6f27b4f6b38db8d74c4c443e9f7d3f1a4f4601d2d6b65ec34fd472f3b1a1741 |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-05a9b4d35fbae9639578a050f1d82c44bdb9f3c9399c2bd78b1a733ccb8469f9 |
|
route.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-29df4ea82eab18d3f740874a6993479f27e5d36b9cb3fc1cf08db485f0e3fbb0 |
|
sso-settings.tsx
| https://github.com/simstudioai/sim/pull/6311/files#diff-ab0807277e5cd6d53813e9eb72605df2cf6737dc34e17903c162ff777f228ac9 |
|
verified-domains-section.tsx
| https://github.com/simstudioai/sim/pull/6311/files#diff-a12831066127985116f59f7c789f4b7349cd0e79141173031dc4f44c4e660afb |
|
auth.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-1196450729bfda994f3823921eacd28e3200408dbb562d8481108db9abe4a0e2 |
|
0284_sso_provider_domain_verified.sql
| https://github.com/simstudioai/sim/pull/6311/files#diff-e0ab1f179e68ed1b97549e5f93b5e0143d3936510b13d4fa6b3bdd83250638e5 |
|
0284_snapshot.json
| https://github.com/simstudioai/sim/pull/6311/files#diff-9f83ff7628aa9dcab15119af4f90cb9cb712702d33244fa1e9f6c45ed58cf09d |
|
_journal.json
| https://github.com/simstudioai/sim/pull/6311/files#diff-37150cc65ad16ee6fbc5fa318fc096be7730e16d63eaf863e3df5521b7030649 |
|
schema.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-9a959e2ce3cb4c86957bbae021d06eae364f7b0cb18964f5873bab53220af928 |
|
schema.mock.ts
| https://github.com/simstudioai/sim/pull/6311/files#diff-3b648ee44a059e5fc069169fdfd7c32c89200a3e79b5d0dc25227d3470da73af |
| apps/docs/content/docs/en/platform/enterprise/sso.mdx | https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
View file
| https://github.com/simstudioai/sim/blob/7b735e4d9936f8fb6fa5636e2e18d168b039ddb8/apps/docs/content/docs/en/platform/enterprise/sso.mdx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/6311/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-db9c20b0479fc6c53cd1766a2d32c8b3d3b892fd5560e8fc0d2208d929435153 |
| apps/sim/app/api/auth/sso/register/route.test.ts | https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
View file
| https://github.com/simstudioai/sim/blob/7b735e4d9936f8fb6fa5636e2e18d168b039ddb8/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/6311/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
|
| https://github.com/simstudioai/sim/pull/6311/files#diff-602d449104f41ae830209c664a5903824479c317da461304f5980b61630df01e |
| Please reload this page | https://github.com/simstudioai/sim/pull/6311/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/6311/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 |