1.20.0 (2020-07-27)
Added
Fixed
- Fix and document thread-safety #272 (lbalmaceda)
1.19.0 (2020-06-05)
Added
- Add display_name property to Connection #267 (lbalmaceda)
- Add support for java Proxy with basic auth #266 (lbalmaceda)
1.18.0 (2020-05-29)
Added
- Add ID Token verifier API #260 (jimmyjames)
- Add signature verification classes #258 (jimmyjames)
Changed
- Update to OkHttp 3.14.9 #262 (jimmyjames)
1.17.0 (2020-05-22)
Added
- Add missing property last_password_reset #256 (mario-moura-silva)
- Add missing "sources" property to the Permission #254 (lbalmaceda)
1.16.0 (2020-04-24)
Added
- Add Job "POST User Imports" endpoint #249 (lbalmaceda)
- Add a new class to handle Multipart requests #248 (lbalmaceda)
- Add Job "GET Status" endpoint #247 (lbalmaceda)
- Add missing "initiate_login_uri" property to Client #244 (lbalmaceda)
- Use char array for passwords #242 (jimmyjames)
- Add Job "POST User Exports" endpoint #241 (lbalmaceda)
- Add Rules Configs entity #240 (lbalmaceda)
Deprecated
- deprecated string password APIs #243 (jimmyjames)
Fixed
- Make CreatedUser take the id from different properties #245 (lbalmaceda)
Security
- Use char array for passwords #242 (jimmyjames)
1.15.0 (2019-11-12)
Changed
- Allow to set the client is_first_party property #230 (lbalmaceda)
1.14.3 (2019-09-25)
Security
- Update jackson-databind to address CVE #225 (jimmyjames)
1.14.2 (2019-08-15)
Fixed
- Find the right JDK version for Telemetry #220 (lbalmaceda)
Security
- Update dependencies #222 (jimmyjames)
1.14.1 (2019-07-03)
Security
- Update jackson-databind dependency to fix security vulnerability #217 (jimmyjames)
1.14.0 (2019-07-02)
Added
- Add getter for DeviceCredentials client_id #215 (lbalmaceda)
- Add missing ResourceServer properties #214 (lbalmaceda)
1.13.3 (2019-05-22)
Fixed
- Add missing metadata field to Connection object #206 (AlisonT1230)
Security
- Bump dependencies and solve security issues #209 (lbalmaceda)
1.13.2 (2019-05-01)
Fixed
- Dynamically obtain the project version for telemetry #201 (lbalmaceda)
1.13.1 (2019-04-25)
Fixed
1.13.0 (2019-04-23)
Added
1.12.0 (2019-04-17)
Added
- Update Telemetry format and allow to customize it #195 (lbalmaceda)
Changed
- Remove default version for search_engine #194 (lbalmaceda)
1.11.0 (2019-03-14)
Added
1.10.0 (2019-01-03)
Added
Fixed
Security
1.9.1 (2018-10-23)
Security
- Use jackson-databind 2.9.7 #168 (lbalmaceda)
1.9.0 (2018-09-25)
Added
- Allow to retrieve Rate Limit headers #153 (rvillablanca)
- Add web_origins attribute to the Client class #148 (lbalmaceda)
- Application (aka Client) description field support #147 (rrybalkin)
1.8.0 (2018-07-13)
Added
- Allow to update the Management API token #141 (lbalmaceda)
- Allow to set search_engine version for Users API #140 (lbalmaceda)
- Make Connections accept include_totals parameter #135 (lbalmaceda)
- Add pagination support to Client Grants, Grants, Resource Servers and Rules #132 (lbalmaceda)
Deprecated
- Deprecate old list methods that do not support pagination #136 (lbalmaceda)
1.7.0 (2018-06-11)
Added
- Support pagination on the Clients entity #124 (lbalmaceda)
- Add Resend verification email functionality #120 (minhlongdo)
Deprecated
- Deprecate ClientsEntity#list() method #128 (lbalmaceda)
Security
- Security fix and dependencies update #129 (lbalmaceda)
1.6.0 (2018-06-04)
Added
- Expose additional error response properties in the Exception #123 (lbalmaceda)
- Add email-templates endpoints #117 (lbalmaceda)
1.5.1 (2018-03-01)
Fixed
- Support password policy error response #108 (lbalmaceda)
- Close ResponseBody buffer after read #101 (lbalmaceda)
1.5.0 (2017-12-07)
Added
1.4.0 (2017-11-30)
Added
- Add user_id setter #93 (lbalmaceda)
- Add /v2/users-by-email endpoint #87 (lbalmaceda)
Breaking changes
- Include a proper SignUp response #92 (lbalmaceda)
1.3.1 (2017-11-01)
Full Changelog Closed issues
- NullPointerException, StdDeserializer #78
Fixed
1.3.0 (2017-09-08)
Added
Changed
1.2.0 (2017-08-07)
Full Changelog Closed issues
- Get AD connection's provisioning_ticket_url property #66
Added
- Add support for provisioning_ticket_url property to Connection POJO #67 (unnamed38)
- Add public User constructor without parameters #59 (lbalmaceda)
Removed
- Remove invalid Logout URL parameter #65 (lbalmaceda)
1.1.0 (2017-05-23)
Added
- Add getter for User and ProfileData extra properties #56 (lbalmaceda)
- Add renew authentication endpoint #51 (lbalmaceda)
- Add revoke token endpoint #50 (lbalmaceda)
- Add getter for Identity extra properties #45 (lbalmaceda)
- Add response_type and custom parameter setter for AuthorizeUrlBuilder #40 (lbalmaceda)
Changed
Fixed
- Fix "q" query parameter encoding #55 (lbalmaceda)
- Close the ResponseBody after its parsed #38 (lbalmaceda)
1.0.0 (2017-01-30)
Reworked Auth0 SDK for java by providing better support for non-Android application (for Android please use Auth0.Android).
The changes from v0 includes:
- OAuth 2.0 endpoints in Authentication API
- Sync calls by default
- Added Management API endpoints
- Better error handling for Auth and Management API erros
The implementation is based on the Authentication API Docs.
Create a new AuthAPI
instance by providing the client data from the dashboard.
AuthAPI auth = new AuthAPI("{YOUR_DOMAIN}", "{YOUR_CLIENT_ID}", "{YOUR_CLIENT_SECRET}");
The implementation is based on the Management API Docs.
Create a new ManagementAPI
instance by providing the domain from the client dashboard and the API Token. Click here for more information on how to obtain a valid API Token.
ManagementAPI mgmt = new ManagementAPI("{YOUR_DOMAIN}", "{YOUR_API_TOKEN}");
The Management API is divided into different entities. Each of them have the list, create, update, delete and update methods plus a few more if corresponds. The calls are authenticated using the API Token given in the ManagementAPI
instance creation and must contain the scope
required by each entity. See the javadoc for details on which scope
is expected for each call.
- Client Grants: See Docs. Access the methods by calling
mgmt.clientGrants()
. - Clients: See Docs. Access the methods by calling
mgmt.clients()
. - Connections: See Docs. Access the methods by calling
mgmt.connections()
. - Device Credentials: See Docs. Access the methods by calling
mgmt.deviceCredentials()
. - Logs: See Docs. Access the methods by calling
mgmt.logEvents()
. - Rules: See Docs. Access the methods by calling
mgmt.rules()
. - User Blocks: See Docs. Access the methods by calling
mgmt.userBlocks()
. - Users: See Docs. Access the methods by calling
mgmt.users()
. - Blacklists: See Docs. Access the methods by calling
mgmt.blacklists()
. - Emails: See Docs. Access the methods by calling
mgmt.emailProvider()
. - Guardian: See Docs. Access the methods by calling
mgmt.guardian()
. - Stats: See Docs. Access the methods by calling
mgmt.stats()
. - Tenants: See Docs. Access the methods by calling
mgmt.tenants()
. - Tickets: See Docs. Access the methods by calling
mgmt.tickets()
.