okta-jwt-verifier-java icon indicating copy to clipboard operation
okta-jwt-verifier-java copied to clipboard

Please consider publishing the com.okta.jwt.it testing classes with the okta-jwt-verifier-integration-tests jar.

Open patrick-m-m opened this issue 1 year ago • 0 comments

:information_source: If you have a question, please post it on the Okta Developer Forum instead. Issues in this repository are reserved for bug reports and feature requests only.

I'm submitting a

  • [ ] bug report
  • [x] feature request

Background info

I've noticed several people asking about integration tests, both in issues here and on the developer forum. The standard advice is to not do integration tests given how much of a pain it is to set up a self-contained jwks server with TLS. I was looking at the integration tests that this repo contains using the okhttp3 mockserver and thought it would be fairly easy to leverage the utility classes in the com.okta.jwt.it package to stand up a server for use in other projects. I pulled down the latest okta-jwt-verifier-integration-tests jar file and was disappointed that none of the classes are published, just the META-INF and pom files.

Expected behavior

I would like to re-use the integration test helpers with a simple import com.okta.jwt.it.*. Please consider publishing the testing classes with the jar.

Library Version

0.5.8

patrick-m-m avatar Feb 08 '24 20:02 patrick-m-m