Forum Discussion

fpedroza's avatar
Occasional Contributor
2 years ago

Generate JWT tokens without using bloated

I'm trying to communicate with the Zephyr REST API. I'm creating test suites, test executions, etc. It works fine except I'm currently using the bloated as a dependency with the ZFJCloudRestClient class. As folks are likely aware, I had to manually install this zip into my maven repo in order to get it to work since it's not available in any centralized maven repo, which is super gross. Additionally, the contents of the zip include a BUNCH of crap that looks unrelated to the single generateJWT() method I'm using. I've also tried to use this jar (, but it seems to be missing dependencies and uses some weird classes. Why is this so hard? It seems to me that there has to be a fairly strait-forward way to create these JWT tokens if we understood what params and such were needed. The code shown on this page,, is nearly it, but I haven't been able to get that approach to work either. I'm hoping someone out there has solved this.

No RepliesBe the first to reply