René's URL Explorer Experiment


Title: feat(sso): open Sim from an identity provider's app dashboard by waleedlatif1 · Pull Request #7865 · simstudioai/sim · GitHub

Open Graph Title: feat(sso): open Sim from an identity provider's app dashboard by waleedlatif1 · Pull Request #7865 · simstudioai/sim

X Title: feat(sso): open Sim from an identity provider's app dashboard by waleedlatif1 · Pull Request #7865 · simstudioai/sim

Description: Summary Adds OpenID Connect third-party initiated login, so people can open Sim from an identity provider's app dashboard (e.g. an Okta tile) without typing an email New initiate login URL: GET /sso/launch/[providerId], a server route that redirects straight to the identity provider It carries no query of its own, so the ?iss= the dashboard appends always parses cleanly Sign-in starts only for a domain-verified OIDC provider configured with that issuer, or one on the same host (Okta sends the organization URL even for a provider registered against a custom authorization server under it) It forwards Better Auth's signed state cookie with the redirect, the same way the OAuth2 authorize route does Admitted per IP like /api/auth/sso/resolve Someone already signed in goes straight to the app, so a crafted launch link can't replace an existing session Anything else — unknown issuer, provider this deployment doesn't serve, refused sign-in — falls back to the provider's existing sign-in link (/sso?provider=…), which asks for an email OIDC providers show an Initiate login URL row with a copy button on their settings page, next to Callback URL. The existing Test sign-in link row is unchanged The /sso page and SSO form are untouched Docs: Okta guide covers the dashboard tile settings, the new URL is described under how sign-in works, and is clarified for Sim Cloud Known tradeoff: like any third-party initiated OIDC login, a signed-out visitor who opens a launch link for someone else's verified provider starts sign-in there. That needs an attacker-owned verified domain and IdP, and signed-in sessions are protected Type of Change New feature Testing Route tests: redirect plus state cookie, already signed in, missing or mismatched issuer, refused sign-in, rate limited, SSO disabled, and that the plugin's appended ?error= can't corrupt the retry link Issuer tests: exact match, trailing slash, custom authorization server under the same host, other issuers, non-URL values, unknown/unverified/SAML providers Settings row test: OIDC only, no query in the URL Mutation-checked: the issuer and auto-start tests fail when those lines are removed lint, check:audits, check:api-validation:strict, docs-manifest:check, type-check pass Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing 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 Adds OpenID Connect third-party initiated login, so people can open Sim from an identity provider's app dashboard (e.g. an Okta tile) without typing an email New initiate login URL: GE...

X Description: Summary Adds OpenID Connect third-party initiated login, so people can open Sim from an identity provider's app dashboard (e.g. an Okta tile) without typing an email New initiate login URL...

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

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:032b4fee-adf5-d0c5-16c0-f3edef208740
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91CE:3491F9:1B2DB9:25A1EA:6AFB2EF2
html-safe-nonce13ddbfaa24dce9c7fcc3c7dd7cdb1db68ce1054539317ba7379daf97a9659098
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUNFOjM0OTFGOToxQjJEQjk6MjVBMUVBOjZBRkIyRUYyIiwidmlzaXRvcl9pZCI6Ijg4MDM4Mjc5Mzc5ODAzOTUyNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd4f43f392ca414876f7d8a12ea3da67a68c970107b606fb6a0622f0c350344ee
hovercard-subject-tagpull_request:4542337596
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/7865/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 Adds OpenID Connect third-party initiated login, so people can open Sim from an identity provider's app dashboard (e.g. an Okta tile) without typing an email New initiate login URL: GE...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None40c7ffe00e8bbb3ca8403c83d7ef110379c9eba2cbc7a7c333b037ffd940d4e4
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
releasef494d77c37809e03e18d49c6e9945c57e0b64070
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7865/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7865%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%2F7865%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/7865/files
Reloadhttps://github.com/simstudioai/sim/pull/7865/files
Reloadhttps://github.com/simstudioai/sim/pull/7865/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)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
feat/sso-idp-initiated-loginhttps://github.com/simstudioai/sim/tree/feat/sso-idp-initiated-login
Conversation 29 https://github.com/simstudioai/sim/pull/7865
Commits 6 https://github.com/simstudioai/sim/pull/7865/commits
Checks 32 https://github.com/simstudioai/sim/pull/7865/checks
Files changed https://github.com/simstudioai/sim/pull/7865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7865/files
feat(sso): open Sim from an identity provider's app dashboard https://github.com/simstudioai/sim/pull/7865/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/7865/files
46ce7f5 feat(sso): open Sim from an identity provider's app dashboard waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7865/commits/46ce7f57bdcb73091cb9fd5c6ed092a9d3e4cb9f
16f3177 improvement(sso): skip re-authentication when signed in and limit das… waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7865/commits/16f31771513491867c6e5f71c3cbe82842a759b3
ab848f6 improvement(sso): redirect straight to the identity provider from the… waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7865/commits/ab848f687a3c49eefe20e323f01c3dd2747ea37a
2cb6d3c fix(sso): keep a signed-in visitor going to the app when the launch a… waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7865/commits/2cb6d3c452ed79218b032387339a70931a121b92
73dec08 fix(sso): report a failed launch sign-in on the provider's sign-in link waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7865/commits/73dec086edcea9294ea71317f4dbc0438b6b6a45
be4db0b chore(sso): normalize the caught error when a launch sign-in fails waleedlatif1 Sep 15, 2026 https://github.com/simstudioai/sim/pull/7865/commits/be4db0be35e11a79989ed4c80cfa49d3b72956ec
Clear filters https://github.com/simstudioai/sim/pull/7865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7865/files
sso.mdx https://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
route.test.ts https://github.com/simstudioai/sim/pull/7865/files#diff-d56704c20813a448da1a56caa7d9e97c4e2e8b2dc1b1ab8aa3c2b9a601b9e9c7
route.ts https://github.com/simstudioai/sim/pull/7865/files#diff-3a361a3a0445ca7e2fcf7e96141eb2c10871fd5533b89c0e166ce6dbc5fe7ea5
sso-provider-settings.tsx https://github.com/simstudioai/sim/pull/7865/files#diff-df125073c6f2c5a57cff1066eae2c906b1d9a02e7aef5ff7b3122d099e9db668
sso-settings.test.tsx https://github.com/simstudioai/sim/pull/7865/files#diff-4b0de14c1c3c4ec81765fa1035c13899c4b1933ea1df456e2b76e0613a52f7ea
idp-initiated-login.test.ts https://github.com/simstudioai/sim/pull/7865/files#diff-8de698185af67b7dc9c03c370a9412da2fd7da67c88545d713bbbc1311d8b4ad
idp-initiated-login.ts https://github.com/simstudioai/sim/pull/7865/files#diff-8b2eeaa7a7b659c44994f0581e62009871c25058f7b58cdcf716eee18dfeb902
apps/docs/content/docs/platform/enterprise/sso.mdxhttps://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
View file https://github.com/simstudioai/sim/blob/be4db0be35e11a79989ed4c80cfa49d3b72956ec/apps/docs/content/docs/platform/enterprise/sso.mdx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
https://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
https://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
https://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
https://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
https://github.com/simstudioai/sim/pull/7865/files#diff-83392d4a8342c1e09b1355344747456fbb0472e0cb88375edcafd053a2ade97b
apps/sim/app/(auth)/sso/launch/[providerId]/route.test.tshttps://github.com/simstudioai/sim/pull/7865/files#diff-d56704c20813a448da1a56caa7d9e97c4e2e8b2dc1b1ab8aa3c2b9a601b9e9c7
View file https://github.com/simstudioai/sim/blob/be4db0be35e11a79989ed4c80cfa49d3b72956ec/apps/sim/app/(auth)/sso/launch/%5BproviderId%5D/route.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7865/{{ revealButtonHref }}
apps/sim/app/(auth)/sso/launch/[providerId]/route.tshttps://github.com/simstudioai/sim/pull/7865/files#diff-3a361a3a0445ca7e2fcf7e96141eb2c10871fd5533b89c0e166ce6dbc5fe7ea5
View file https://github.com/simstudioai/sim/blob/be4db0be35e11a79989ed4c80cfa49d3b72956ec/apps/sim/app/(auth)/sso/launch/%5BproviderId%5D/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7865/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/7865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7865/files
apps/sim/ee/sso/components/sso-provider-settings.tsxhttps://github.com/simstudioai/sim/pull/7865/files#diff-df125073c6f2c5a57cff1066eae2c906b1d9a02e7aef5ff7b3122d099e9db668
View file https://github.com/simstudioai/sim/blob/be4db0be35e11a79989ed4c80cfa49d3b72956ec/apps/sim/ee/sso/components/sso-provider-settings.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7865/files#diff-df125073c6f2c5a57cff1066eae2c906b1d9a02e7aef5ff7b3122d099e9db668
https://github.com/simstudioai/sim/pull/7865/files#diff-df125073c6f2c5a57cff1066eae2c906b1d9a02e7aef5ff7b3122d099e9db668
https://github.com/simstudioai/sim/pull/7865/files#diff-df125073c6f2c5a57cff1066eae2c906b1d9a02e7aef5ff7b3122d099e9db668
https://github.com/simstudioai/sim/pull/7865/files#diff-df125073c6f2c5a57cff1066eae2c906b1d9a02e7aef5ff7b3122d099e9db668
apps/sim/ee/sso/components/sso-settings.test.tsxhttps://github.com/simstudioai/sim/pull/7865/files#diff-4b0de14c1c3c4ec81765fa1035c13899c4b1933ea1df456e2b76e0613a52f7ea
View file https://github.com/simstudioai/sim/blob/be4db0be35e11a79989ed4c80cfa49d3b72956ec/apps/sim/ee/sso/components/sso-settings.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7865/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7865/files#diff-4b0de14c1c3c4ec81765fa1035c13899c4b1933ea1df456e2b76e0613a52f7ea
https://github.com/simstudioai/sim/pull/7865/files#diff-4b0de14c1c3c4ec81765fa1035c13899c4b1933ea1df456e2b76e0613a52f7ea
https://github.com/simstudioai/sim/pull/7865/files#diff-4b0de14c1c3c4ec81765fa1035c13899c4b1933ea1df456e2b76e0613a52f7ea
https://github.com/simstudioai/sim/pull/7865/files#diff-4b0de14c1c3c4ec81765fa1035c13899c4b1933ea1df456e2b76e0613a52f7ea
https://github.com/simstudioai/sim/pull/7865/files#diff-4b0de14c1c3c4ec81765fa1035c13899c4b1933ea1df456e2b76e0613a52f7ea
apps/sim/lib/auth/sso/idp-initiated-login.test.tshttps://github.com/simstudioai/sim/pull/7865/files#diff-8de698185af67b7dc9c03c370a9412da2fd7da67c88545d713bbbc1311d8b4ad
View file https://github.com/simstudioai/sim/blob/be4db0be35e11a79989ed4c80cfa49d3b72956ec/apps/sim/lib/auth/sso/idp-initiated-login.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7865/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/7865/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7865/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.