Auth0 Java SDK thread safety

Reference: GitHub - auth0/auth0-java: Java client library for the Auth0 platform

I’m referring to this documentation, particularly:

AuthAPI auth = new AuthAPI(“{YOUR_DOMAIN}”, “{YOUR_CLIENT_ID}”, “{YOUR_CLIENT_SECRET}”);

Is the AuthAPI object thread-safe? Am I supposed to instantiate it once at start-up and reuse the reference throughout my application’s life time. Or, Am I supposed to create a new instance of AuthAPI every time I want to make an Auth0 API call?

Hey there!

Can you raise that as a GitHub issue so we can talk about it directly with the SDK maintainers? Make sure to share the link to the issue here with us so we can ping repo maintainers.