You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We’re excited to share that V3 of the Auth0 Java SDK is now GA! This major release represents a significant evolution of the Java client library for Auth0, designed to make integrating with Auth0’s Authentication and Management APIs simpler, clearer.
🚀 What’s New in v3
Added Features
OpenAPI-generated SDK based on Auth0 specifications
Stronger type safety using enums
Automatic pagination support (SyncPagingIterable)
Nullability annotations on all generated models
Centralized error handling via ManagementApiException
Explicit null support for PATCH requests
Upgraded to OkHttp 5.2.1
🧩 Migration Example
Client Initialization
The Management API client initialization has changed from ManagementAPI to ManagementApi, and uses a different builder pattern.
Before (V2):
import com.auth0.client.mgmt.ManagementAPI;
// Using domain and token
ManagementAPI mgmt = ManagementAPI.newBuilder("{YOUR_DOMAIN}", "{YOUR_API_TOKEN}").build();
// Using TokenProvider
TokenProvider tokenProvider = SimpleTokenProvider.create("{YOUR_API_TOKEN}");
ManagementAPI mgmt = ManagementAPI.newBuilder("{YOUR_DOMAIN}", tokenProvider).build();
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
We’re excited to share that V3 of the Auth0 Java SDK is now GA! This major release represents a significant evolution of the Java client library for Auth0, designed to make integrating with Auth0’s Authentication and Management APIs simpler, clearer.
🚀 What’s New in v3
Added Features
🧩 Migration Example
Client Initialization
The Management API client initialization has changed from ManagementAPI to ManagementApi, and uses a different builder pattern.
Before (V2):
After (V3): Approach : Standard Token-Based
📦 Installation
Add the dependency via Maven:
or Gradle:
implementation 'com.auth0:auth0:3.0.0'📌 Important Notes:
💬 Feedback
We’d love to hear your feedback! Join the discussion or open an issue on GitHub
Beta Was this translation helpful? Give feedback.
All reactions