-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Labels
bug reportThis issue reports a suspect bug or issue with the SDK itselfThis issue reports a suspect bug or issue with the SDK itself
Description
Hello,
after upgrading to the version 1.25.0 (from 1.24.0) i get the error in the title when getting TokenHolder.
My code looks the same as in your docs:
AuthAPI authAPI = new AuthAPI("{YOUR_DOMAIN}", "{YOUR_CLIENT_ID}", "{YOUR_CLIENT_SECRET}");
AuthRequest authRequest = authAPI.requestToken("https://{YOUR_DOMAIN}/api/v2/");
TokenHolder holder = authRequest.execute();
ManagementAPI mgmt = new ManagementAPI("{YOUR_DOMAIN}", holder.getAccessToken());
The problem is this line: TokenHolder holder = authRequest.execute();
In previous versions everything worked great but since update to 1.25.0 it throws the following error:
Caused by: java.lang.NoSuchMethodError: 'okhttp3.RequestBody okhttp3.RequestBody.create(byte[], okhttp3.MediaType)'
at com.auth0.net.CustomRequest.createRequestBody(CustomRequest.java:50)
at com.auth0.net.ExtendedBaseRequest.createRequest(ExtendedBaseRequest.java:49)
at com.auth0.net.BaseRequest.execute(BaseRequest.java:29)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug reportThis issue reports a suspect bug or issue with the SDK itselfThis issue reports a suspect bug or issue with the SDK itself