Auth

Self-hosted Okta alternatives

2 open-source apps you can run on your own server instead of Okta. The install method for each one is taken from its own docs.
Short answer: self-host authentik or Keycloak instead of Okta. The software is free to run and you pay for the server. Licenses checked 2026-10-01, install docs read 2026-11-30.
  1. 1
    authentik

    Open-source identity provider and SSO

    Identity provider with SSO, SAML, OIDC and LDAP; some enterprise code is paid.

    Open source (MIT (core)) · ★ 26k · Docker Compose

    Download the compose file, put a PostgreSQL password and a secret key in .env, then run docker compose up -d. Initial setup is on port 9000; the docs list 2 CPU cores and 2 GB RAM. Install docs.

  2. 2
    Keycloak

    Open-source identity and access management

    CNCF identity and access management server with SSO.

    Open source (Apache-2.0) · ★ 37k · Docker

    The getting-started guide runs quay.io/keycloak/keycloak with docker run. Production needs a database such as PostgreSQL and your own TLS certificates. Install docs.

All free Okta alternatives. All self-hosted alternatives.

Open source: OSI-approved license. Free to self-host: the code is public and free to run yourself, with limits in the license. The install line is left out when I have not read it on the project's own docs.

Also in this list

Auth0.