OAuth Libraries for Java
Here you'll find the best Java libraries for building OAuth clients and servers.
Client Libraries
- Spring Security
- Restlet Framework (draft 30)
- ScribeJava
- oauth2-essentials
- Light Java Client
- Google OAuth Java Client
- Pac4j
- Nimbus
- AppAuth for Android
Server Libraries
- MitreID (with OpenID Connect)
- Restlet Framework (draft 30)
- Apache CXF
- Tokens: Java library for conveniently verifying and storing OAuth 2.0 service access tokens.
- Light OAuth2 - The fastest, lightest and cloud native OAuth 2.0 microservices
- Pac4j
- Keycloak
- Nimbus
- Spring Authorization Server
- Authplane java-sdk: Protect MCP servers and OAuth 2.1 resource servers, with MCP and Spring Security adapters
If you would like to add a library, you can edit this page.