auth0-java-mvc-common icon indicating copy to clipboard operation
auth0-java-mvc-common copied to clipboard

Library is not compatible with com.auth0.auth0 v2

Open AlchemistAction opened this issue 7 months ago • 1 comments

Checklist

  • [x] I have looked into the Readme and the Examples, and have not found a suitable solution or answer.
  • [x] I have looked into the API documentation and have not found a suitable solution or answer.
  • [x] I have searched the issues and have not found a suitable solution or answer.
  • [x] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • [x] I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

AuthenticationController.newBuilder() under the hood uses "AuthAPI client.setTelemetry(telemetry)":

@VisibleForTesting void setupTelemetry(AuthAPI client) { Telemetry telemetry = new Telemetry("auth0-java-mvc-common", this.obtainPackageVersion()); client.setTelemetry(telemetry); }

Which was deleted in version 2, here is doc

Describe the ideal solution

If its possible please make library to be compatible with v2 of auth0 main library.

Alternatives and current workarounds

The only option now is to downgrade to auth0 version 1.6 which is 4 years old.

Additional context

No response

AlchemistAction avatar Jun 11 '25 19:06 AlchemistAction