File tree Expand file tree Collapse file tree
apps/sim/app/api/auth/sso/register Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -661,13 +661,10 @@ export const POST = withRouteHandler(async (request: NextRequest) => {
661661 * same transaction that removes the proof, the provider cannot end up trusted
662662 * without current ownership in either commit order.
663663 *
664- * Org-less (personal) SSO has no verified domain behind it, so on the hosted
665- * multi-tenant deployment it is granted no linking authority — otherwise anyone
666- * able to register one could claim a domain they do not own and have their own
667- * IdP auto-link to existing accounts on it. Sim's UI always registers
668- * org-scoped, so this only affects direct API callers. Self-hosted deployments
669- * are single-tenant, where the operator is the only tenant and the org-less
670- * path keeps working as before.
664+ * Org-less (personal) SSO is a self-host-only path — Sim's UI always registers
665+ * org-scoped. It has no verified domain behind it, so it is trusted only when
666+ * self-hosted, where the operator is the sole tenant. On the hosted deployment
667+ * that trust would let anyone claim a domain they do not own.
671668 */
672669 const grantProviderDomainTrust = async ( ) : Promise < boolean > => {
673670 if ( ! orgId ) {
You can’t perform that action at this time.
0 commit comments