Skip to content
pac4j

Open source alternatives to pac4j

200 open source 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. R

    Rauthy

    Launch

    Rauthy is a lightweight identity provider for single sign-on and access management, supporting OpenID Connect, OAuth 2 and PAM. It is written in Rust and aims to be simple to set up and operate, with very secure defaults and many configurat

More like pac4j

7
O

Oauth2 Proxy

A reverse proxy that provides authentication

Launch
8
E

Express Openid Connect

An Express.js middleware to protect OpenID Connect web applications

Launch
9
S

Spring Addons

OAuth2 / OIDC for Spring backends of SPAs

Launch
10
J

Jans

The Janssen Project is a home for open source IAM components

Launch
11
N

NextAuth

Authentication for Next.js

Launch
12
G

Goiabada

Goiabada is an OAuth2 / OpenID Connect server written in Go

Launch
13
A

Authentik

authentik is an open-source identity provider

Launch
14
A

Authelia

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

Launch
15
D

Dex

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

Launch
16
M

Melody Auth

Opensource auth/oauth system

Launch
17
A

Authentik

Open-source Identity Provider with flexibility

Launch
18
O

Oidc.Server

Flexible OpenID Connect and OAuth 2.0 server-side implementation

Launch
19
B

BoxyHQ

SSO service supporting SAML and OpenID Connect

Launch
20
A

Auth

UX-focussed Turnkey Authentication Solution for Web Apps/APIs

Launch
21
R

Rauthy

Lightweight and simple identity provider

Launch
22
O

OxAuth

OAuth 2.0 server and client; OpenID Connect Provider

Launch
23
Z

ZITADEL Cloud

Identity Infrastructure, Simplified

Launch
24
S

SuperTokens

Open Source User Authentication

Launch
25
T

TheIdServer

OpenID/Connect, OAuth2, WS-Federation

Launch
26
P

Pocket ID

Self-hostable OpenID Connect and OAuth 2.0 provider

Launch
27
L

Logto

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

Launch
28
T

Tinyauth

The tiniest OpenID Certified authorization

Launch
29
B

Better Auth RS

Rust backend implementation of @better-auth

Launch
30
V

Vouch Proxy

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

Launch
31
C

Casdoor

An open-source Agent-first Identity and Access Management

Launch
32
B

Better Auth

A comprehensive authentication framework offering email/password

Launch
33
P

Para

Flexible and modular backend framework/server for object persistence

Launch
34
O

OpenAM

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

Launch
35
S

Ssoready

Open-source dev tools for enterprise SSO

Launch
36
A

Authgear

Secure Login & Identity, Fully Managed

Launch
37
O

Oidc Client TS

OpenID Connect (OIDC) and OAuth2 protocol support

Launch
38
A

Authorizer

Your data, your control

Launch
39
V

Voidauth

Single Sign-On for Your Self-Hosted Universe

Launch
40
R

Run Aspnet Identityserver4

Secure microservices with using standalone Identity Server 4 and backing

Launch
41
O

Oidc Spa

OpenID Connect solution for browser-centric web apps

Launch
42
A

A12n Server

An open source lightweight OAuth2 server

Launch
43
O

Obligator

Simple and opinionated OpenID Connect server designed for self-hosters

Launch
44
P

PhpCAS

Apereo PHP CAS Client

Launch
45
J

Jasypt Spring Boot

Jasypt integration for Spring boot

Launch
46
K

Kanidm

Modern and simple identity management platform

Launch
47
O

Oauthenticator

OAuth + JupyterHub Authenticator = OAuthenticator

Launch
48
O

OAuth2 Proxy

Reverse proxy and authentication middleware

Launch
49
A

Authula

An open-source authentication solution that scales with you

Launch
50
M

MaxKey

Dromara MaxKey SSO ,Leading-Edge IAM-IDaas(Identity and Access Management)

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