The best free alternative to WorkOS is Ory Polis (BoxyHQ). Covers the core of WorkOS: SSO over SAML and OpenID Connect, plus Directory Sync (SCIM) that adds and removes users based on the customer's company directory.
Quick pick: If your app needs SAML and OpenID Connect SSO plus SCIM user provisioning for enterprise customers, self-hosted: BoxyHQ.
Reviewed November 2026 against each vendor's official website.
FAQ
What is the best free alternative to WorkOS?
The most popular picks are Ory Polis (BoxyHQ). If your app needs SAML and OpenID Connect SSO plus SCIM user provisioning for enterprise customers, self-hosted: BoxyHQ.
Is there an open-source alternative to WorkOS?
Yes. Ory Polis (BoxyHQ) (Apache-2.0) is open source: free to use, including at work, and the code is public so the community can keep it going.
Is there a free version of WorkOS?
WorkOS AuthKit has a free tier for basic user authentication; enterprise SSO and Directory Sync are billed per connection.
How much code changes when moving from WorkOS to BoxyHQ?
You will rewrite the API calls, but the flow is similar: your app redirects users to SSO and gets the login result back over standard OAuth. If you already use a standard OAuth library, the switch is fairly contained.
What do I need to self-host BoxyHQ?
A server running Docker or Node.js and a database such as PostgreSQL. Since it handles sign-in, you need HTTPS, backups and a habit of applying security updates promptly.