Alternatives to pac4j
200 apps like pac4j, closest match first.
Top picks
- C
Cas
LaunchApereo CAS is an open-source single sign-on server and identity provider for the web. It gives users one login across many applications and supports the CAS protocol it began with, as well as SAML2, OAuth2 and OpenID Connect, with multifact
- K

Keycloak
LaunchKeycloak is an open-source identity and access management server. It adds single sign-on, social login, identity brokering and fine-grained authorization to your applications and services, so your apps do not need to store users or handle l
- J
Java Cas Client
LaunchThe Apereo Java CAS Client is a collection of Servlet filters for Java web applications that authenticate users against a CAS server. The core filters handle CAS authentication and ticket validation. The project also works as an API platfor
- O
Oauth4webapi
Launchoauth4webapi is a low-level client library for OAuth 2 and OpenID Connect that runs in browsers and in other JavaScript runtimes. Instead of a framework plugin, it gives you the building blocks to write your own client: discovery of authori
- A

Auth.js
LaunchAuth.js is an open-source authentication library for the web, used with frameworks such as Next.js, SvelteKit, Express and Qwik. You configure it with a list of providers, such as GitHub, and it adds sign-in routes and session handling to y
- Q

quarkus-security
Getquarkus-security is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It is a security review guide for Quarkus applications, covering authentication, authorisation and input validation. It sets out JWT and OIDC authe
More like pac4j

auth-implementation-patterns
Authentication and authorization with JWT, OAuth2, sessions and RBAC
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









