Skip to content
pac4j

Alternatives to pac4j

200 apps like pac4j, closest match first.

Top picks

  1. C

    Apereo 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

  2. K

    Keycloak

    Launch

    Keycloak 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

  3. J

    Java Cas Client

    Launch

    The 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

  4. O

    Oauth4webapi

    Launch

    oauth4webapi 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

  5. A

    Auth.js

    Launch

    Auth.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

  6. Q

    quarkus-security

    Get

    quarkus-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

7
S

springboot-security

Spring Security best practices for authn/authz, validation, CSRF, secrets

Get
8
S

spring-boot-security-jwt

Provides JWT authentication and authorization patterns

Get
9
R

Rauthy

Single Sign-On Identity & Access Management via OpenID Connect, OAuth 2, PAM

Launch
10
O

Oauth2 Proxy

A reverse proxy that provides authentication

Launch
11
E

Express Openid Connect

An Express.js middleware to protect OpenID Connect web applications

Launch
12
S

Spring Addons

OAuth2 / OIDC for Spring backends of SPAs

Launch
13
J

Jans

The Janssen Project is a home for open source IAM components

Launch
14
N

NextAuth

Authentication for Next.js

Launch
15
G

Goiabada

Goiabada is an OAuth2 / OpenID Connect server written in Go

Launch
16
A

Authentik

authentik is an open-source identity provider

Launch
17
A

Authelia

The Single Sign-On Multi-Factor portal for web apps

Launch
18
D

Dex

OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors

Launch
19
M

Melody Auth

Opensource auth/oauth system

Launch
20
A

Authentik

Open-source Identity Provider with flexibility

Launch
21
F

FusionAuth

User authentication and session management framework

Launch
22
O

Oidc.Server

Flexible OpenID Connect and OAuth 2.0 server-side implementation

Launch
23
B

BoxyHQ

SSO service supporting SAML and OpenID Connect

Launch
24
A

Auth

UX-focussed Turnkey Authentication Solution for Web Apps/APIs

Launch
25
R

Rauthy

Lightweight and simple identity provider

Launch
26
O

OxAuth

OAuth 2.0 server and client; OpenID Connect Provider

Launch
27
Z

ZITADEL Cloud

Identity Infrastructure, Simplified

Launch
28
S

SuperTokens

Open Source User Authentication

Launch
29
T

TheIdServer

OpenID/Connect, OAuth2, WS-Federation

Launch
30
P

Pocket ID

Self-hostable OpenID Connect and OAuth 2.0 provider

Launch
31
L

Logto

Logto adds multi-tenancy, enterprise SSO, and RBAC to your SaaS or AI apps

Launch
32
T

Tinyauth

The tiniest OpenID Certified authorization

Launch
33
B

Better Auth RS

Rust backend implementation of @better-auth

Launch
34
A

auth-implementation-patterns

Authentication and authorization with JWT, OAuth2, sessions and RBAC

Get
35
V

Vouch Proxy

an SSO and OAuth / OIDC login solution for Nginx using the auth_request module

Launch
36
S

Stytch

A better way to build auth

Launch
37
C

Casdoor

An open-source Agent-first Identity and Access Management

Launch
38
J

java-spring-boot

Production-ready Spring Boot applications

Get
39
B

Better Auth

A comprehensive authentication framework offering email/password

Launch
40
P

Para

Flexible and modular backend framework/server for object persistence

Launch
41
O

Okta

Secure, scalable

Launch
42
O

OpenAM

OpenAM is an open-source access management solution for identity authentication

Launch
43
O

oauth

Implements OAuth 2.0/2.1 authorization flows in Fastify applications

Get
44
S

Ssoready

Open-source dev tools for enterprise SSO

Launch
45
C

Clerk

Authentication and User Management

Launch
46
C

Corbado

Passkey-first authentication for developers

Launch
47
A

Authgear

Secure Login & Identity, Fully Managed

Launch
48
O

Oidc Client TS

OpenID Connect (OIDC) and OAuth2 protocol support

Launch
49
A

auth0

Essential Auth0 skills including quickstarts, migration from other providers

Get
50
A

Authorizer

Your data, your control

Launch

About pac4j

P

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