Self-hosted alternatives to pac4j
200 self-hosted apps like pac4j, closest match first.
Top picks
- A
Authelia
LaunchAuthelia is an open-source authentication and authorization server and portal designed to provide identity and access management (IAM) for web applications. It offers multi-factor authentication (MFA) and single sign-on (SSO) capabilities,
Self-hosted
- A
Authentik
Launchauthentik is an open-source Identity Provider designed to offer flexibility and versatility. It supports a wide range of authentication protocols and can be used as a self-hosted replacement for large-scale deployments of commercial identit
Self-hosted
- R
Rauthy
LaunchRauthy is a lightweight identity provider written in Rust. It supports OpenID Connect, OAuth 2 and PAM logins, and it aims to be simple to set up and run, with secure defaults and many configuration options when you need them. It puts heavy
Self-hosted
- P

Pocket ID
LaunchPocket ID is a self-hosted OpenID Connect and OAuth 2.0 provider that lets users sign in to your apps with passkeys instead of passwords. It is OpenID Connect Certified and works with any OIDC-compatible application, so you can use it as th
Self-hosted
- T
Tinyauth
LaunchTinyauth is a lightweight authentication and authorization server for self-hosted applications. The site describes it as an OpenID Connect certified provider. It works out of the box using only environment variables, so there are no dashboa
Self-hosted
- C
Casdoor
LaunchAn open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
Self-hosted
More like pac4j
About pac4j
pac4j
Security engine for Java (authentication, authorization, multi frameworks)…
pac4j is an open-source security engine for Java applications, covering authentication and authorisation with OpenID Connect, SAML, CAS, OAuth, JWT and more. It is built so the same security model works across many web frameworks, including Spring Boot, Spring WebFlux, Jakarta EE, Play, Vert.x, Spark Java, Jooby, JAX-RS, Dropwizard, Javalin, Undertow, Ratpack and http4s. In a Spring Boot app, one configuration class sets up an OpenID Connect client and protects paths such as /protected/**, and the library creates the callback and logout endpoints for you. Moving to a CAS or SAML2 identity provider means changing the client class, while the rest of the code stays the same. Other mechanisms include LDAP, SQL, MongoDB, Kerberos and REST API authentication, along with roles, CORS, CSRF and HTTP security headers. pac4j is licensed under Apache 2.0, requires Java 17 or later, and has been open source since 2012. It is used by the CAS server, Apache Syncope and Apache Knox.
- Price
- Free
- Made by
- pac4j
- Category
- Developer Tools
- Website
- pac4j.org



.png)