You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Comparable platforms — companies, identity, and access #9
How do the same platforms model the company (organization / workspace / team), membership and roles, single sign-on and log-in-once, per-app sharing and permissions, and machine credentials (CLI and CI tokens, API keys) bound to a person or to the organization. Include how better-auth, Clerk, and WorkOS model organizations and SSO — at the product level (which concepts exist and how they relate), not implementation.
Output: docs/research/platforms-identity-and-access.md on branch research/platforms-identity-and-access. Waits on it: Company and tenancy, Identity and access.
Every platform has exactly one tenant that owns what people build, and the name is arbitrary. "Organization" (Retool, Deno Deploy, Glide, Val Town, Clerk, WorkOS, better-auth), "workspace" (Windmill, Appsmith, ToolJet, Budibase, Softr, Observable, Streamlit), "team" (Vercel, Riff). Several nest two levels — an account/instance above and tenants below: Retool organization → Spaces [2], Windmill/ToolJet/Appsmith instance → workspaces [9][37][14], Budibase account → workspaces [31], Clerk application → Organizations [100].
A person is one identity that can belong to many tenants, on every platform that has a tenant at all: Clerk sets no limit [101], WorkOS models a many-to-many membership table [118], better-auth defaults organizationLimit to unlimited [93], Observable, Softr, Windmill and ToolJet all say so explicitly [65][78][10][44]. The two outliers are Deno Deploy, where "all users must belong to an organization" and everything is org-owned [51], and Retool Spaces, where a user has a separate account and separate login per space [3].
Tenant roles are a short fixed ladder everywhere — owner/admin, builder, consumer — and custom roles are the paid tier. Retool object roles (Enterprise) [1], Appsmith GAC (Business) [14], Budibase custom app roles [22] and groups (paid) [24], ToolJet custom groups [35], Clerk custom Roles (B2B add-on) [102], WorkOS org-level roles [115], better-auth dynamic access control [93].
The decisive split is builder versus consumer, not admin versus member. Retool "external users" [7], Glide "team members" vs "app users" [71], Softr "collaborators" vs app "users" [78][79], Budibase "Creator" vs "End user" [22], Windmill "operator" and "anonymous app viewer" [9], Streamlit "developers" vs "viewers" [86]. Platforms where consumers are just members with a low role (Retool internal, ToolJet, Budibase, Windmill, Observable) get "log in once, reach everything" for free; platforms where consumers are a separate population per app (Glide, Softr, Riff) need a second identity system and a second SSO.
Per-app access is the same shape everywhere: an access level (use/edit/own; view/edit; viewer/developer/admin) granted to members and groups, plus an "anyone with the link" switch. Retool public links [6], ToolJet "Make application public" [42], Appsmith "Make Public" permission [20], Windmill secret app URLs [9], Val Town public app access [46], Observable "Can view (unlisted)" [67], Budibase "Public" role [22], Streamlit public apps [86]. Val Town and Vercel gate a running app on platform identity or email domain (Val Town) or the company's own IdP (Vercel Passport) without an app-side user table [46][62]; Glide can also gate sign-in by email domain, but still keeps its own per-app Users table [73].
SSO is two separate products on most platforms: signing builders into the platform, and signing consumers into the built apps. Builder SSO is enterprise-gated nearly everywhere (Retool per Space [4], Vercel SAML add-on [58], Observable OIDC-only Enterprise [68], Appsmith SAML Enterprise [18], Budibase enforced SSO Enterprise [26], Windmill SAML/SCIM EE [13], Softr Studio SSO Enterprise [82], Glide team SSO Enterprise add-on [75]). Consumer SSO, where it exists, is configured again per app (Softr [81], Glide before team SSO [75], Vercel Passport per project [62], Appsmith private embed [21]).
Verified email domain is the universal bridge from "person signed up" to "person is in the company". Clerk verified domains auto-invite or suggest [104]; WorkOS domain policy JIT-provisions and can force SSO [117][116]; better-auth ties domain verification to account linking and org assignment [94]; Windmill domain auto-add [10]; ToolJet allowed domains [40]; Observable domain auto-join [64]; Softr defined "internal user" by domain under its legacy V3 pricing (V4 plans dropped the distinction) [80]; Retool defines "external user" by domain [7]; Glide "allowed email domains" [73].
Machine credentials come in three kinds, and the mature platforms offer at least two. (a) Personal tokens that act as the person, optionally narrowed: Windmill user tokens with scopes [11], Vercel tokens scoped to account/team/project [63], Val Town scoped tokens [48], Budibase per-user API key [28], Deno personal tokens [54]. (b) Tenant-owned tokens created by an admin: Retool org tokens with scopes [8], Deno organization tokens [53], Softr workspace tokens with scopes and expiry [83], Observable workspace API keys [70], ToolJet's single instance token [43], Glide team-scoped token [77]. (c) Non-human principals: Windmill service accounts with a role and no login [9], Clerk Machines/M2M tokens [111], and org-owned API keys as a first-class object in Clerk [110], WorkOS [123] and better-auth [95].
A CLI acting as a person uses device authorization or a personal token; CI uses a tenant-owned token or a bypass secret. better-auth ships the OAuth device-authorization grant for CLIs [96]; Vercel CLI uses personal tokens and a separate "protection bypass for automation" secret to reach protected deployments [61][63]; Val Town injects a short-lived token into running vals and issues per-val "bypass tokens" for machines reaching restricted apps [48][46]; Deno issues OIDC identity tokens to running apps [55].
The three auth providers converge on one model: application → organizations → memberships carrying roles → session carries the active organization; SSO connections and SCIM directories attach to an organization; verified domains drive enrollment; an IT admin self-serves SSO in a hosted portal. Differences that matter: Clerk makes org membership required by default and offers "Personal Accounts" as the opt-out [101]; WorkOS gives memberships a lifecycle (pending/active/inactive) and a directory_managed flag [114]; better-auth adds teams inside organizations, runtime-defined roles, org-owned API keys, inbound SCIM, and can itself be the OAuth/OIDC provider for the apps you host [93][95][97][98].
Nobody has solved "one login for the platform and for every hosted app" as a product. The closest are Vercel Passport (IdP session cookie per protected deployment, identity forwarded as a JWT) [62], Val Town restricted app access with a signed x-val-town-user header [46], Windmill apps executing "on behalf of" the author while viewers are anonymous [9], and better-auth's OAuth provider plugin [98]. This is open ground for Patchy Cloud.
What the field agrees on, for Patchy's purposes: company = organization; one person, many companies; a three-rung role ladder plus groups; per-patch access = level × (members | groups | link | public); SSO and domain policy hang off the company; two token kinds — personal (CLI, acts as the person) and company-owned (CI and agents, admin-created, scoped, expiring).
Open questions
Val Town org roles and org-owned API tokens. The organizations page documents only creation and val transfer [45]; the Teams announcement lists "API Tokens" among org resources [50]. Whether orgs have admin/member roles and tenant-owned tokens is not documented.
Glide per-app SSO on Business plans. The docs describe Team SSO as an Enterprise add-on [75]; the pricing page lists SSO under Enterprise only [76]; a search-engine excerpt of an older docs page claimed Business plan SSO. Treat Business-plan SSO as unconfirmed.
Retool Spaces plan requirement. Neither Spaces page states the plan [2][3]; the tutorial mentions Enterprise only for copying objects across spaces [3].
Riff (Databutton) team membership and consumer SSO. Docs reached after the rename cover team workspace, per-project collaborators, deploy and legacy native auth [89][90][91][92]; how members join a team, roles, and any IdP-backed consumer login are not documented. docs.databutton.com did not resolve during this research; databutton.com/docs 301-redirects to riff.ai/docs.
Deno Deploy roles. "Currently, all members have owner permissions" [51]; whether roles are planned is not stated.
Windmill Cloud multi-tenancy. Domain-based auto-add "is only available on Windmill Cloud, where the instance is multi-tenant" [10], implying Cloud workspaces are tenants on a shared instance; how Cloud handles per-workspace SSO is not documented on the pages read.
Retool SCIM and JIT. The SSO quickstart describes group sync and role mapping [4] but the pages read do not state SCIM support or JIT behaviour.
Budibase Public API principal. The docs say each user has their own API key [28][29] but do not state whether calls made with it are authorized as that user.
Observable data-app deploy credentials. The deploy page describes npm run deploy and GitHub-based cloud builds but not the credential used [65b]; API keys are documented only for embedding [70].
Activity
allisonmahmood commentedon Aug 26, 2026
Resolution
Research written, then adversarially re-verified against every cited source (124 primary-source pages; corrections committed on the branch). File: https://github.com/allisonmahmood/patchy-cloud/blob/research/platforms-identity-and-access/docs/research/platforms-identity-and-access.md
Summary
organizationLimitto unlimited [93], Observable, Softr, Windmill and ToolJet all say so explicitly [65][78][10][44]. The two outliers are Deno Deploy, where "all users must belong to an organization" and everything is org-owned [51], and Retool Spaces, where a user has a separate account and separate login per space [3].directory_managedflag [114]; better-auth adds teams inside organizations, runtime-defined roles, org-owned API keys, inbound SCIM, and can itself be the OAuth/OIDC provider for the apps you host [93][95][97][98].x-val-town-userheader [46], Windmill apps executing "on behalf of" the author while viewers are anonymous [9], and better-auth's OAuth provider plugin [98]. This is open ground for Patchy Cloud.Open questions
docs.databutton.comdid not resolve during this research;databutton.com/docs301-redirects toriff.ai/docs.npm run deployand GitHub-based cloud builds but not the credential used [65b]; API keys are documented only for embedding [70].