Hello Experts,
We are trying to include below dependency in the core package
<dependency> <groupId>com.okta.jwt</groupId> <artifactId>okta-jwt-verifier</artifactId> <version>${okta-jwt.version}</version> </dependency> <dependency> <groupId>com.okta.jwt</groupId> <artifactId>okta-jwt-verifier-impl</artifactId> <version>${okta-jwt.version}</version> <scope>runtime</scope> </dependency>
(version is 0.5.1)
We are seeing below dependency resolution error when the bundle is installed (not activated because of the dependency issue)
We are using maven bnd plugin and all the other dependencies are resolved without any issue but this. Could you please share your experience if you have encountered this issue before and resolved. Appreciate you time
Okta documentation :
https://developer.okta.com/docs/guides/validate-access-tokens/java/main/
Views
Replies
Total Likes
Hi,
Did you check whether the jar is downloaded under .m2 repository folder? If it is not downloaded you can try downloading the jar manually and add to .m2 repository
You can check below link for similar issue
https://github.com/okta/okta-jwt-verifier-java/issues/43
@Ravi_Pampana The jar files are downloaded under .m2 folder. Apparently there was no resolution provided by OKTA team at https://github.com/okta/okta-jwt-verifier-java/issues/43
Using AEM Archetype 23
Could you convert these jar files into OSGi bundle as suggested and upload into web console to fix this dependency issue [give a try] -
https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17475.html?lang=en [Convert jar into an OSGi bundle].
But you have to define Export packages precisely and these export java packages are getting used in your implementation [
Views
Likes
Replies
Views
Likes
Replies