René's URL Explorer Experiment


Title: fix(sso): link Entra sign-ins to existing accounts and enforce unique provider IDs by waleedlatif1 · Pull Request #6311 · simstudioai/sim · GitHub

Open Graph Title: fix(sso): link Entra sign-ins to existing accounts and enforce unique provider IDs by waleedlatif1 · Pull Request #6311 · simstudioai/sim

X Title: fix(sso): link Entra sign-ins to existing accounts and enforce unique provider IDs by waleedlatif1 · Pull Request #6311 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - fix(sso): link Entra sign-ins to existing accounts and enforce unique provider IDs by waleedlatif1 · Pull Request #6311 · simstudioai/sim

Open Graph Description: 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...

X Description: 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...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:14712dfa-5231-8c79-82e8-181de40f65c5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E00:305156:27E220:37D39E:6AFB52DD
html-safe-noncebbb365cd7c259eaf0748fb026ed42bd9e59ab0676401a5b6a69a5195d5bffd2a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTAwOjMwNTE1NjoyN0UyMjA6MzdEMzlFOjZBRkI1MkREIiwidmlzaXRvcl9pZCI6IjE0NDMwNDU1MjA3NDkzMTg4NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac74720eb6bc1c67c2330954865d7e0ed33f402a13f1902814863ed22e400f2e0c
hovercard-subject-tagpull_request:4217916385
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6311/commits
twitter:imagehttps://opengraph.githubassets.com/feaee39583846a004996404a525e6b8c699fbad4469c4b536b9d897bd9bc1148/simstudioai/sim/pull/6311
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/feaee39583846a004996404a525e6b8c699fbad4469c4b536b9d897bd9bc1148/simstudioai/sim/pull/6311
og:image:altSummary 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:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6311/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6311%2Fcommits
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%2F6311%2Fcommits
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%2Fcommits&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6311/commits
Reloadhttps://github.com/simstudioai/sim/pull/6311/commits
Reloadhttps://github.com/simstudioai/sim/pull/6311/commits
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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
https://github.com/simstudioai/sim
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
worktree-sso-domain-verify-audithttps://github.com/simstudioai/sim/tree/worktree-sso-domain-verify-audit
Conversationhttps://github.com/simstudioai/sim/pull/6311
Commits24 (24)https://github.com/simstudioai/sim/pull/6311/commits
Checkshttps://github.com/simstudioai/sim/pull/6311/checks
Files changedhttps://github.com/simstudioai/sim/pull/6311/files
fix(sso): link Entra sign-ins to existing accounts and enforce unique provider IDshttps://github.com/simstudioai/sim/pull/6311/commits#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
worktree-sso-domain-verify-audithttps://github.com/simstudioai/sim/tree/worktree-sso-domain-verify-audit
fix(sso): link Entra sign-ins to existing accounts and enforce unique provider IDshttps://github.com/simstudioai/sim/pull/6311/commits/b6eb0c8cbfea0b932a9499ffaf3826e8b24fa99c
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
b6eb0c8https://github.com/simstudioai/sim/pull/6311/commits/b6eb0c8cbfea0b932a9499ffaf3826e8b24fa99c
https://github.com/simstudioai/sim/tree/b6eb0c8cbfea0b932a9499ffaf3826e8b24fa99c
fix(sso): revoke domain trust when verification is removed mid-updatehttps://github.com/simstudioai/sim/pull/6311/commits/e4b9fcce09445888346aa136dc872f66a4b804e7
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
e4b9fcchttps://github.com/simstudioai/sim/pull/6311/commits/e4b9fcce09445888346aa136dc872f66a4b804e7
https://github.com/simstudioai/sim/tree/e4b9fcce09445888346aa136dc872f66a4b804e7
fix(sso): make domain-trust grants atomic and propagate revocationhttps://github.com/simstudioai/sim/pull/6311/commits/a0bd3923bb24bf31df15a2ec79d3c5d04cab5cf4
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
a0bd392https://github.com/simstudioai/sim/pull/6311/commits/a0bd3923bb24bf31df15a2ec79d3c5d04cab5cf4
https://github.com/simstudioai/sim/tree/a0bd3923bb24bf31df15a2ec79d3c5d04cab5cf4
fix(sso): report a refused domain-trust grant instead of returning successhttps://github.com/simstudioai/sim/pull/6311/commits/4dea2d4176c0014f7edf21fadfba87450dd90a20
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
4dea2d4https://github.com/simstudioai/sim/pull/6311/commits/4dea2d4176c0014f7edf21fadfba87450dd90a20
https://github.com/simstudioai/sim/tree/4dea2d4176c0014f7edf21fadfba87450dd90a20
feat(sso): let admins map IdP claims, and trim setup commentshttps://github.com/simstudioai/sim/pull/6311/commits/016dbbae924ab2df5e4bb073ec67e0afa491fdf9
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
016dbbahttps://github.com/simstudioai/sim/pull/6311/commits/016dbbae924ab2df5e4bb073ec67e0afa491fdf9
https://github.com/simstudioai/sim/tree/016dbbae924ab2df5e4bb073ec67e0afa491fdf9
feat(sso): expose the standard enterprise IdP options in the setup formhttps://github.com/simstudioai/sim/pull/6311/commits/1a0203e2c6171011871ac1fb486387cfe963f507
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
1a0203ehttps://github.com/simstudioai/sim/pull/6311/commits/1a0203e2c6171011871ac1fb486387cfe963f507
https://github.com/simstudioai/sim/tree/1a0203e2c6171011871ac1fb486387cfe963f507
fix(sso): withhold domain trust from personal providers on the hosted deploymenthttps://github.com/simstudioai/sim/pull/6311/commits/ec38a1aa68d52a8462817c23bf5929689eaf54e5
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
ec38a1ahttps://github.com/simstudioai/sim/pull/6311/commits/ec38a1aa68d52a8462817c23bf5929689eaf54e5
https://github.com/simstudioai/sim/tree/ec38a1aa68d52a8462817c23bf5929689eaf54e5
docs(sso): correct the personal-provider trust note after the hosted gatinghttps://github.com/simstudioai/sim/pull/6311/commits/7c3aa3bd22a8a94def818ff1abc8a2af061bdcb6
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
7c3aa3bhttps://github.com/simstudioai/sim/pull/6311/commits/7c3aa3bd22a8a94def818ff1abc8a2af061bdcb6
https://github.com/simstudioai/sim/tree/7c3aa3bd22a8a94def818ff1abc8a2af061bdcb6
fix(sso): drop the inert SAML algorithm selects, make NameID format clearablehttps://github.com/simstudioai/sim/pull/6311/commits/15cc971e7b6cc96205898d135f3f4c1b7ea65244
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
15cc971https://github.com/simstudioai/sim/pull/6311/commits/15cc971e7b6cc96205898d135f3f4c1b7ea65244
https://github.com/simstudioai/sim/tree/15cc971e7b6cc96205898d135f3f4c1b7ea65244
docs(sso): tighten the personal-provider note to the self-host path it describeshttps://github.com/simstudioai/sim/pull/6311/commits/715c6ec072016036098a4eb6dec0592c1765f302
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
715c6echttps://github.com/simstudioai/sim/pull/6311/commits/715c6ec072016036098a4eb6dec0592c1765f302
https://github.com/simstudioai/sim/tree/715c6ec072016036098a4eb6dec0592c1765f302
fix(sso): forward an empty SAML NameID format so the provider default can be restoredhttps://github.com/simstudioai/sim/pull/6311/commits/91332e25865e3b46d9b0c98866b5a0ff76f03d9b
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
91332e2https://github.com/simstudioai/sim/pull/6311/commits/91332e25865e3b46d9b0c98866b5a0ff76f03d9b
https://github.com/simstudioai/sim/tree/91332e25865e3b46d9b0c98866b5a0ff76f03d9b
fix(sso): revoke trust for providers whose domain is spelled with a wildcardhttps://github.com/simstudioai/sim/pull/6311/commits/33e2cee4d244f6381618c27cc518b7c5c6aa4c7a
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
33e2ceehttps://github.com/simstudioai/sim/pull/6311/commits/33e2cee4d244f6381618c27cc518b7c5c6aa4c7a
https://github.com/simstudioai/sim/tree/33e2cee4d244f6381618c27cc518b7c5c6aa4c7a
fix(db): give the SSO index migration the concurrent-build convention it skippedhttps://github.com/simstudioai/sim/pull/6311/commits/afd7e276ff638564285bd6c1b5b480de005e0057
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
afd7e27https://github.com/simstudioai/sim/pull/6311/commits/afd7e276ff638564285bd6c1b5b480de005e0057
https://github.com/simstudioai/sim/tree/afd7e276ff638564285bd6c1b5b480de005e0057
fix(sso): give the Enter shortcut the same guard as the Add domain buttonhttps://github.com/simstudioai/sim/pull/6311/commits/db92d43a1fc7ec98203e51ae4e3bc316b40c1148
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
db92d43https://github.com/simstudioai/sim/pull/6311/commits/db92d43a1fc7ec98203e51ae4e3bc316b40c1148
https://github.com/simstudioai/sim/tree/db92d43a1fc7ec98203e51ae4e3bc316b40c1148
fix(sso): stop the provider ID being editable after it is savedhttps://github.com/simstudioai/sim/pull/6311/commits/833932a31b3712a5dd9744d105a8caa66dc62778
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
833932ahttps://github.com/simstudioai/sim/pull/6311/commits/833932a31b3712a5dd9744d105a8caa66dc62778
https://github.com/simstudioai/sim/tree/833932a31b3712a5dd9744d105a8caa66dc62778
fix(sso): stop persisting generated IdP metadata so SAML cert rotation workshttps://github.com/simstudioai/sim/pull/6311/commits/231848073d75e5ab5a96a6cbcd6c425bd6db44ff
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
2318480https://github.com/simstudioai/sim/pull/6311/commits/231848073d75e5ab5a96a6cbcd6c425bd6db44ff
https://github.com/simstudioai/sim/tree/231848073d75e5ab5a96a6cbcd6c425bd6db44ff
fix(sso): always write SAML IdP metadata so clearing it takes effect on updatehttps://github.com/simstudioai/sim/pull/6311/commits/e9949e94bb849e2efd8d4a08e1752930047bac63
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
e9949e9https://github.com/simstudioai/sim/pull/6311/commits/e9949e94bb849e2efd8d4a08e1752930047bac63
https://github.com/simstudioai/sim/tree/e9949e94bb849e2efd8d4a08e1752930047bac63
fix(sso): hold the domain proof under a row lock while granting trusthttps://github.com/simstudioai/sim/pull/6311/commits/c5644414a57392c320aa6aed6fbbcaeb67fb3a16
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
c564441https://github.com/simstudioai/sim/pull/6311/commits/c5644414a57392c320aa6aed6fbbcaeb67fb3a16
https://github.com/simstudioai/sim/tree/c5644414a57392c320aa6aed6fbbcaeb67fb3a16
refactor(sso): write the two merge-sensitive SAML fields the same wayhttps://github.com/simstudioai/sim/pull/6311/commits/eedc242e581938b8f5b876370c9ed01d3e6cb30d
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
eedc242https://github.com/simstudioai/sim/pull/6311/commits/eedc242e581938b8f5b876370c9ed01d3e6cb30d
https://github.com/simstudioai/sim/tree/eedc242e581938b8f5b876370c9ed01d3e6cb30d
fix(sso): report the row the trust grant actually matchedhttps://github.com/simstudioai/sim/pull/6311/commits/ee5fd2ddd25187bedbc19f92805168004656bf1b
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
ee5fd2dhttps://github.com/simstudioai/sim/pull/6311/commits/ee5fd2ddd25187bedbc19f92805168004656bf1b
https://github.com/simstudioai/sim/tree/ee5fd2ddd25187bedbc19f92805168004656bf1b
fix(sso): restore provider domain trust when a domain is re-verifiedhttps://github.com/simstudioai/sim/pull/6311/commits/9fff2d335b40bf1c744b83e9f96a26307a2ffa9b
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
9fff2d3https://github.com/simstudioai/sim/pull/6311/commits/9fff2d335b40bf1c744b83e9f96a26307a2ffa9b
https://github.com/simstudioai/sim/tree/9fff2d335b40bf1c744b83e9f96a26307a2ffa9b
fix(sso): correct the domain-removal warning now that it disables sign-inhttps://github.com/simstudioai/sim/pull/6311/commits/c6b9d66d604502e24387ccf4cedc57a33cb0bdae
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
c6b9d66https://github.com/simstudioai/sim/pull/6311/commits/c6b9d66d604502e24387ccf4cedc57a33cb0bdae
https://github.com/simstudioai/sim/tree/c6b9d66d604502e24387ccf4cedc57a33cb0bdae
chore(sso): trim verbose commentshttps://github.com/simstudioai/sim/pull/6311/commits/27ade42ced9f797a177cfa2986c11605853a6a5d
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
27ade42https://github.com/simstudioai/sim/pull/6311/commits/27ade42ced9f797a177cfa2986c11605853a6a5d
https://github.com/simstudioai/sim/tree/27ade42ced9f797a177cfa2986c11605853a6a5d
fix(sso): revert a rejected SSO update instead of leaving it storedhttps://github.com/simstudioai/sim/pull/6311/commits/7b735e4d9936f8fb6fa5636e2e18d168b039ddb8
https://github.com/waleedlatif1
waleedlatif1https://github.com/simstudioai/sim/commits?author=waleedlatif1
7b735e4https://github.com/simstudioai/sim/pull/6311/commits/7b735e4d9936f8fb6fa5636e2e18d168b039ddb8
https://github.com/simstudioai/sim/tree/7b735e4d9936f8fb6fa5636e2e18d168b039ddb8
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.